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

Unified Diff: Source/core/dom/Fullscreen.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 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/dom/Fullscreen.cpp
diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp
index 6c90a543514bc18b536fb9dbdaa6525e9c2a7b4e..37ebe7e780dccf14bd6f58ceb359467805907aff 100644
--- a/Source/core/dom/Fullscreen.cpp
+++ b/Source/core/dom/Fullscreen.cpp
@@ -429,7 +429,7 @@ void Fullscreen::didEnterFullScreenForElement(Element* element)
// when the element is removed from the normal flow. Only do this for a LayoutBox, as only
// a box will have a frameRect. The placeholder will be created in setFullScreenRenderer()
// during layout.
- LayoutObject* renderer = m_fullScreenElement->renderer();
+ LayoutObject* renderer = m_fullScreenElement->layoutObject();
Julien - ping for review 2015/03/05 16:19:15 Ditto.
bool shouldCreatePlaceholder = renderer && renderer->isBox();
if (shouldCreatePlaceholder) {
m_savedPlaceholderFrameRect = toLayoutBox(renderer)->frameRect();

Powered by Google App Engine
This is Rietveld 408576698