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

Unified Diff: third_party/WebKit/Source/wtf/text/CString.h

Issue 1381023002: NOCOMMIT: Blink tracing now uses base Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/text/CString.h
diff --git a/third_party/WebKit/Source/wtf/text/CString.h b/third_party/WebKit/Source/wtf/text/CString.h
index 08e51027e774748d32f6336d76d19f32af7a41e7..70f676235f22e48dbf6afbf6d043e590ff84a7a4 100644
--- a/third_party/WebKit/Source/wtf/text/CString.h
+++ b/third_party/WebKit/Source/wtf/text/CString.h
@@ -68,6 +68,9 @@ public:
{
return m_buffer ? m_buffer->data() : 0;
}
+
+ const operator const char*() const { return data(); }
+
char* mutableData();
size_t length() const
{
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebUnitTests.cpp ('k') | third_party/WebKit/public/platform/WebConvertableToTraceFormat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698