| Index: third_party/WebKit/Source/platform/bindings/V8PrivateProperty.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h b/third_party/WebKit/Source/platform/bindings/V8PrivateProperty.h
|
| similarity index 96%
|
| copy from third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h
|
| copy to third_party/WebKit/Source/platform/bindings/V8PrivateProperty.h
|
| index 178901c9ccb4ddf701245adf07c83e3b794b716a..5dbfd12c7247985f7f98b844197807db2a6ced2d 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h
|
| +++ b/third_party/WebKit/Source/platform/bindings/V8PrivateProperty.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -7,10 +7,10 @@
|
|
|
| #include <memory>
|
|
|
| -#include "bindings/core/v8/ScriptPromiseProperties.h"
|
| -#include "bindings/core/v8/V8BindingMacros.h"
|
| -#include "bindings/core/v8/V8PerIsolateData.h"
|
| -#include "core/CoreExport.h"
|
| +#include "platform/PlatformExport.h"
|
| +#include "platform/bindings/ScriptPromiseProperties.h"
|
| +#include "platform/bindings/V8BindingMacros.h"
|
| +#include "platform/bindings/V8PerIsolateData.h"
|
| #include "platform/wtf/Allocator.h"
|
| #include "platform/wtf/PtrUtil.h"
|
| #include "v8/include/v8.h"
|
| @@ -89,7 +89,7 @@ class ScriptWrappable;
|
| // const char symbolName[] = "Interface#PrivateKeyName";
|
| // auto private = V8PrivateProperty::createSymbol(isolate, symbolName);
|
| // ...
|
| -class CORE_EXPORT V8PrivateProperty {
|
| +class PLATFORM_EXPORT V8PrivateProperty {
|
| USING_FAST_MALLOC(V8PrivateProperty);
|
| WTF_MAKE_NONCOPYABLE(V8PrivateProperty);
|
|
|
| @@ -99,7 +99,7 @@ class CORE_EXPORT V8PrivateProperty {
|
| // Retrieving/creating a global private symbol from a string is very
|
| // expensive compared to get or set a private property. This class
|
| // provides a way to cache a private symbol and re-use it.
|
| - class CORE_EXPORT Symbol {
|
| + class PLATFORM_EXPORT Symbol {
|
| STACK_ALLOCATED();
|
|
|
| public:
|
|
|