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

Unified Diff: third_party/WebKit/Source/core/fetch/SubstituteData.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/core/fetch/SubstituteData.h
diff --git a/third_party/WebKit/Source/core/fetch/SubstituteData.h b/third_party/WebKit/Source/core/fetch/SubstituteData.h
index f9ffa36920097618e680424d437ad3e382ecfe60..87410f17e04499684468ad0b1bfd5b6a6382176b 100644
--- a/third_party/WebKit/Source/core/fetch/SubstituteData.h
+++ b/third_party/WebKit/Source/core/fetch/SubstituteData.h
@@ -56,7 +56,7 @@ public:
{
}
- bool isValid() const { return m_content; }
+ bool isValid() const { return m_content.get(); }
SharedBuffer* content() const { return m_content.get(); }
const AtomicString& mimeType() const { return m_mimeType; }

Powered by Google App Engine
This is Rietveld 408576698