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

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, 9 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 45aadeaaa473f24c23821953bd5275b7bf72dcd2..fb28db95e51fa36fe2a374f40c67aeb5b9778030 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
@@ -162,10 +162,10 @@ TEST_F(GraphicsLayerTest, updateLayerShouldFlattenTransformWithAnimations)
layerTreeView()->detachCompositorAnimationTimeline(compositorTimeline->animationTimeline());
}
-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);
}
@@ -205,7 +205,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);
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.h ('k') | third_party/WebKit/Source/platform/graphics/Image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698