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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioChannel.h

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/audio/AudioChannel.h
diff --git a/third_party/WebKit/Source/platform/audio/AudioChannel.h b/third_party/WebKit/Source/platform/audio/AudioChannel.h
index a1fb5ad70c84d19caea27d94233232121ed03a5d..f1569111d225cadd6c779a46ee6ffe1fe7e0e850 100644
--- a/third_party/WebKit/Source/platform/audio/AudioChannel.h
+++ b/third_party/WebKit/Source/platform/audio/AudioChannel.h
@@ -73,7 +73,7 @@ public:
// storage represents external memory not managed by this object.
void set(float* storage, size_t length)
{
- m_memBuffer.clear(); // cleanup managed storage
+ m_memBuffer.reset(); // cleanup managed storage
m_rawPointer = storage;
m_length = length;
m_silent = false;

Powered by Google App Engine
This is Rietveld 408576698