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

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

Issue 1860903002: Update Source/platform/ to assume Oilpan only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: back out ScrollAnimatorMac() accidental change Created 4 years, 8 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/GraphicsLayerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
index 827a987352093163fe042cb11ca94a63c8fb0652..e0c06163086833137d2c5a63eda0391932c62c0c 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
@@ -161,7 +161,7 @@ TEST_F(GraphicsLayerTest, updateLayerShouldFlattenTransformWithAnimations)
class FakeScrollableArea : public GarbageCollectedFinalized<FakeScrollableArea>, public ScrollableArea {
USING_GARBAGE_COLLECTED_MIXIN(FakeScrollableArea);
public:
- static RawPtr<FakeScrollableArea> create()
+ static FakeScrollableArea* create()
{
return new FakeScrollableArea;
}
@@ -201,8 +201,8 @@ private:
TEST_F(GraphicsLayerTest, applyScrollToScrollableArea)
{
- RawPtr<FakeScrollableArea> scrollableArea = FakeScrollableArea::create();
- m_graphicsLayer->setScrollableArea(scrollableArea.get(), false);
+ FakeScrollableArea* scrollableArea = FakeScrollableArea::create();
+ m_graphicsLayer->setScrollableArea(scrollableArea, false);
WebDoublePoint scrollPosition(7, 9);
m_platformLayer->setScrollPositionDouble(scrollPosition);

Powered by Google App Engine
This is Rietveld 408576698