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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 2015433004: Add main thread scrolling reasons to GraphicsLayer::layerTreeAsJSON. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index c70570404b9453110306eb4553db52fe0f138466..45e1736605ae60aca446e877b3929e419dd73f8b 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -1256,6 +1256,11 @@ std::unique_ptr<base::trace_event::ConvertableToTraceFormat> GraphicsLayer::Take
return std::move(tracedValue);
}
+void GraphicsLayer::didUpdateMainThreadScrollingReasons()
+{
+ m_debugInfo.setMainThreadScrollingReasons(platformLayer()->mainThreadScrollingReasons());
+}
+
PaintController& GraphicsLayer::getPaintController()
{
RELEASE_ASSERT(drawsContent());

Powered by Google App Engine
This is Rietveld 408576698