Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
This commit is contained in:
@@ -221,8 +221,7 @@ HTMLVideoElement::GetVideoPlaybackQuality()
|
||||
uint64_t corruptedFrames = 0;
|
||||
|
||||
if (sVideoStatsEnabled) {
|
||||
nsPIDOMWindow* window = OwnerDoc()->GetInnerWindow();
|
||||
if (window) {
|
||||
if (nsPIDOMWindowInner* window = OwnerDoc()->GetInnerWindow()) {
|
||||
nsPerformance* perf = window->GetPerformance();
|
||||
if (perf) {
|
||||
creationTime = perf->Now();
|
||||
|
||||
Reference in New Issue
Block a user