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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp

Issue 2007983006: Rename OwnPtr::clear() to reset() in modules/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/modules/csspaint/PaintWorkletTest.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
index 43612f8c6da5f6b5f82aaf0ddb367650cbf468ac..368ab9a48163b1279be909f4675410bad77fb3a1 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
@@ -69,7 +69,7 @@ TEST_F(PaintWorkletTest, GarbageCollectionOfCSSPaintDefinition)
ASSERT(!handle.isEmpty());
// Delete the page & associated objects.
- m_page.clear();
+ m_page.reset();
// Run a GC, the persistent should have been collected.
ThreadHeap::collectAllGarbage();

Powered by Google App Engine
This is Rietveld 408576698