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 e65b599f00704162a713b70234c9369e14f39010..1db0b2173f77b5be9af33dc0373e470f472d7cf7 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h |
@@ -6,7 +6,7 @@ |
#define Maybe_h |
#include "platform/PlatformExport.h" |
-#include "wtf/text/WTFString.h" |
+#include "platform/inspector_protocol/String16.h" |
dgozman
2016/03/08 01:35:12
class String16;
|
namespace blink { |
namespace protocol { |
@@ -70,7 +70,14 @@ class Maybe<String> : public MaybeBase<String> { |
public: |
Maybe() { } |
Maybe(const String& value) : MaybeBase(value) { } |
- Maybe(const AtomicString& value) : MaybeBase(value) { } |
+ using MaybeBase::operator=; |
+}; |
+ |
+template<> |
+class Maybe<String16> : public MaybeBase<String16> { |
+public: |
+ Maybe() { } |
+ Maybe(const String16& value) : MaybeBase(value) { } |
using MaybeBase::operator=; |
}; |