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

Unified Diff: third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferBuilder.h

Issue 2063773002: Reland: WTF: Implement explicit RefPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/wtf/typed_arrays/ArrayBufferBuilder.h
diff --git a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferBuilder.h b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferBuilder.h
index b37f1cfa8c1e191a8bd464e881930a12537229a8..7c60f1a7edc1b23589a0ba2b3272c3394f214952 100644
--- a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferBuilder.h
+++ b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferBuilder.h
@@ -60,7 +60,7 @@ public:
bool isValid() const
{
- return m_buffer;
+ return m_buffer.get();
}
// Appending empty data is not allowed.
« no previous file with comments | « third_party/WebKit/Source/wtf/RefPtr.h ('k') | third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698