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

Unified Diff: Source/core/page/Page.cpp

Issue 26110004: Defer the real work in updateCompositingLayers until it's really needed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed reviewer feedback about inspector error check Created 7 years, 2 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/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index 7c9380c87c9f2047e37b9cc714adf48839280402..1ee77096c077994cd55123cab6c8c32c17bb8793 100644
--- a/Source/core/page/Page.cpp
+++ b/Source/core/page/Page.cpp
@@ -50,6 +50,7 @@
#include "core/page/ValidationMessageClient.h"
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "core/plugins/PluginData.h"
+#include "core/rendering/RenderLayerCompositor.h"
Ian Vollick 2013/10/18 19:23:26 We don't need this, right?
#include "core/rendering/RenderView.h"
#include "core/storage/StorageNamespace.h"
#include "wtf/HashMap.h"
@@ -223,9 +224,6 @@ ScrollingCoordinator* Page::scrollingCoordinator()
String Page::mainThreadScrollingReasonsAsText()
{
- if (Document* document = m_mainFrame->document())
- document->updateLayout();
-
if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
return scrollingCoordinator->mainThreadScrollingReasonsAsText();

Powered by Google App Engine
This is Rietveld 408576698