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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/GraphicsLayerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
index 79ba3f09ef10b021a901e7d2ad9909e42d778619..8dcf3039285c99d69a1006741c09bf87fa09d476 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
@@ -182,12 +182,12 @@ TEST_F(GraphicsLayerTest, updateLayerShouldFlattenTransformWithAnimations)
}
}
-class FakeScrollableArea : public NoBaseWillBeGarbageCollectedFinalized<FakeScrollableArea>, public ScrollableArea {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FakeScrollableArea);
+class FakeScrollableArea : public GarbageCollectedFinalized<FakeScrollableArea>, public ScrollableArea {
+ USING_GARBAGE_COLLECTED_MIXIN(FakeScrollableArea);
public:
- static PassOwnPtrWillBeRawPtr<FakeScrollableArea> create()
+ static RawPtr<FakeScrollableArea> create()
{
- return adoptPtrWillBeNoop(new FakeScrollableArea);
+ return (new FakeScrollableArea);
}
bool isActive() const override { return false; }
@@ -225,7 +225,7 @@ private:
TEST_F(GraphicsLayerTest, applyScrollToScrollableArea)
{
- OwnPtrWillBeRawPtr<FakeScrollableArea> scrollableArea = FakeScrollableArea::create();
+ RawPtr<FakeScrollableArea> scrollableArea = FakeScrollableArea::create();
m_graphicsLayer->setScrollableArea(scrollableArea.get(), false);
WebDoublePoint scrollPosition(7, 9);

Powered by Google App Engine
This is Rietveld 408576698