| 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..8116b549d253733d8c13e81d87c7ef6162889c2f 100644
|
| --- a/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h
|
| +++ b/third_party/WebKit/Source/platform/inspector_protocol/Maybe.h
|
| @@ -6,11 +6,12 @@
|
| #define Maybe_h
|
|
|
| #include "platform/PlatformExport.h"
|
| -#include "wtf/text/WTFString.h"
|
|
|
| namespace blink {
|
| namespace protocol {
|
|
|
| +class String16;
|
| +
|
| template<typename T>
|
| class Maybe {
|
| public:
|
| @@ -70,7 +71,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=;
|
| };
|
|
|
|
|