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

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

Issue 2011783002: Rename OwnPtr::clear() to reset() in platform/. (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/platform/graphics/RecordingImageBufferSurface.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp
index 08caf7615dc2e975b5e059e2bbc8f595220b0d9f..c19292b1199f3cb2299440c2d9fd2a4101fcbdc6 100644
--- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp
+++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp
@@ -90,7 +90,7 @@ void RecordingImageBufferSurface::fallBackToRasterCanvas(FallbackReason reason)
if (m_currentFrame) {
m_currentFrame->finishRecordingAsPicture()->playback(m_fallbackSurface->canvas());
- m_currentFrame.clear();
+ m_currentFrame.reset();
}
if (m_imageBuffer) {

Powered by Google App Engine
This is Rietveld 408576698