| Index: third_party/WebKit/Source/platform/JSONParser.h
|
| diff --git a/third_party/WebKit/Source/platform/geometry/IntPoint.cpp b/third_party/WebKit/Source/platform/JSONParser.h
|
| similarity index 52%
|
| copy from third_party/WebKit/Source/platform/geometry/IntPoint.cpp
|
| copy to third_party/WebKit/Source/platform/JSONParser.h
|
| index 96b2add70b77a695436834267841ed42cab1fe4b..b208d91474c94d1b25a4948bc46356d9ccd4a9e9 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/IntPoint.cpp
|
| +++ b/third_party/WebKit/Source/platform/JSONParser.h
|
| @@ -2,17 +2,20 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "platform/geometry/IntPoint.h"
|
| +#ifndef JSONParser_h
|
| +#define JSONParser_h
|
|
|
| +#include "platform/PlatformExport.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| +#include <memory>
|
| +
|
| namespace blink {
|
|
|
| -#ifndef NDEBUG
|
| -String IntPoint::toString() const
|
| -{
|
| - return String::format("%d,%d", x(), y());
|
| -}
|
| -#endif
|
| +class JSONValue;
|
| +
|
| +PLATFORM_EXPORT std::unique_ptr<JSONValue> parseJSON(const String& json);
|
|
|
| } // namespace blink
|
| +
|
| +#endif // JSONParser_h
|
|
|