Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1538)

Unified Diff: Source/core/rendering/RenderFullScreen.cpp

Issue 421693003: Stop using controller as a variable name for FullscreenElementStack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderFullScreen.cpp
diff --git a/Source/core/rendering/RenderFullScreen.cpp b/Source/core/rendering/RenderFullScreen.cpp
index 484e9c38be8d8082b7dff63d339a5bf0418f58e3..875cfc8f54fd9c4de2f69b22120ea93bbc83b1d2 100644
--- a/Source/core/rendering/RenderFullScreen.cpp
+++ b/Source/core/rendering/RenderFullScreen.cpp
@@ -74,10 +74,10 @@ void RenderFullScreen::willBeDestroyed()
}
// RenderObjects are unretained, so notify the document (which holds a pointer to a RenderFullScreen)
- // if it's RenderFullScreen is destroyed.
- FullscreenElementStack& controller = FullscreenElementStack::from(document());
- if (controller.fullScreenRenderer() == this)
- controller.fullScreenRendererDestroyed();
+ // if its RenderFullScreen is destroyed.
+ FullscreenElementStack& fullscreen = FullscreenElementStack::from(document());
+ if (fullscreen.fullScreenRenderer() == this)
+ fullscreen.fullScreenRendererDestroyed();
RenderFlexibleBox::willBeDestroyed();
}
« Source/core/dom/FullscreenElementStack.h ('K') | « Source/core/dom/FullscreenElementStack.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698