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

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

Issue 2680953002: Remove GraphicsLayer::didScroll and directly call ScrollableArea::didScroll (Closed)
Patch Set: Incorporate reviewer comments: more tests, less bad tests Created 3 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: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index f0116389b3edebaff273ddb15f953e9be9ba0f10..11b7fe692ddeaabe46ee348dc33b65e586b79cfa 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -48,7 +48,6 @@
#include "platform/transforms/TransformationMatrix.h"
#include "public/platform/WebContentLayer.h"
#include "public/platform/WebImageLayer.h"
-#include "public/platform/WebLayerScrollClient.h"
#include "public/platform/WebLayerStickyPositionConstraint.h"
#include "third_party/skia/include/core/SkFilterQuality.h"
#include "third_party/skia/include/core/SkRefCnt.h"
@@ -70,9 +69,7 @@ typedef Vector<GraphicsLayer*, 64> GraphicsLayerVector;
// GraphicsLayer is an abstraction for a rendering surface with backing store,
// which may have associated transformation and animations.
-
-class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient,
- public cc::LayerClient,
+class PLATFORM_EXPORT GraphicsLayer : public cc::LayerClient,
public DisplayItemClient {
WTF_MAKE_NONCOPYABLE(GraphicsLayer);
USING_FAST_MALLOC(GraphicsLayer);
@@ -254,9 +251,6 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient,
void paint(const IntRect* interestRect,
GraphicsContext::DisabledMode = GraphicsContext::NothingDisabled);
- // WebLayerScrollClient implementation.
- void didScroll() override;
-
// cc::LayerClient implementation.
std::unique_ptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo(
cc::Layer*) override;

Powered by Google App Engine
This is Rietveld 408576698