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

Unified Diff: third_party/WebKit/Source/core/inspector/NetworkResourcesData.h

Issue 1891473002: WTF: Implement explicit RefPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/core/inspector/NetworkResourcesData.h
diff --git a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h
index d7f01930e981ad4c0d07e7d393b1351aa57b8c53..1265ff15159a58bb4cbb11c5c3287cab5d09b13e 100644
--- a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h
+++ b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h
@@ -131,7 +131,7 @@ public:
DECLARE_TRACE();
private:
- bool hasData() const { return m_dataBuffer; }
+ bool hasData() const { return m_dataBuffer.get(); }
size_t dataLength() const;
void appendData(const char* data, size_t dataLength);
size_t decodeDataToContent();
« no previous file with comments | « third_party/WebKit/Source/core/fetch/SubstituteData.h ('k') | third_party/WebKit/Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698