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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/Maybe.h

Issue 2226863003: [DevTools] Reduce API surface of String16. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 4 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/inspector_protocol/Maybe.h
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h b/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h
index cf372e0bbe2015cdbaff282615ce10041fcc30e2..560e7da9629b970dda037542fa640143a78d1be3 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h
@@ -13,8 +13,6 @@
namespace blink {
namespace protocol {
-class String16;
-
template<typename T>
class Maybe {
public:
@@ -70,10 +68,10 @@ public:
};
template<>
-class Maybe<String> : public MaybeBase<String> {
+class Maybe<InspectorProtocolConvenienceStringType> : public MaybeBase<InspectorProtocolConvenienceStringType> {
public:
Maybe() { }
- Maybe(const String& value) : MaybeBase(value) { }
+ Maybe(const InspectorProtocolConvenienceStringType& value) : MaybeBase(value) { }
using MaybeBase::operator=;
};

Powered by Google App Engine
This is Rietveld 408576698