| Index: Source/WebKit/chromium/src/WebScopedCompilation.cpp
|
| diff --git a/Source/Platform/chromium/public/WebExternalTextureMailbox.h b/Source/WebKit/chromium/src/WebScopedCompilation.cpp
|
| similarity index 76%
|
| copy from Source/Platform/chromium/public/WebExternalTextureMailbox.h
|
| copy to Source/WebKit/chromium/src/WebScopedCompilation.cpp
|
| index 785e9181ae0c05a2448245a4d39e45452a63bd24..e38c4f8e962f44e39f2ef47329ba007d51ebe457 100644
|
| --- a/Source/Platform/chromium/public/WebExternalTextureMailbox.h
|
| +++ b/Source/WebKit/chromium/src/WebScopedCompilation.cpp
|
| @@ -28,22 +28,30 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebExternalTextureMailbox_h
|
| -#define WebExternalTextureMailbox_h
|
| +#include "config.h"
|
| +#include "WebScopedCompilation.h"
|
| +#include "bindings/v8/V8PerContextDebugData.h"
|
| + #include <v8.h>
|
| +#include <wtf/OwnPtr.h>
|
|
|
| namespace WebKit {
|
|
|
| -struct WebExternalTextureMailbox {
|
| - signed char name[64];
|
| - unsigned syncPoint;
|
| -
|
| - WebExternalTextureMailbox()
|
| - : syncPoint(0)
|
| +class WebScopedCompilation::Impl : public WebCore::V8PerContextDebugData::SystemScope {
|
| +public:
|
| + Impl(v8::Handle<v8::Context> context)
|
| + : SystemScope(context)
|
| {
|
| - memset(name, 0, sizeof(name));
|
| }
|
| };
|
|
|
| -} // namespace WebKit
|
| +WebScopedCompilation::WebScopedCompilation(v8::Handle<v8::Context> context)
|
| +{
|
| + m_impl.reset(new Impl(context));
|
| +}
|
|
|
| -#endif // WebExternalTextureMailbox_h
|
| +WebScopedCompilation::~WebScopedCompilation()
|
| +{
|
| + m_impl.reset(0);
|
| +}
|
| +
|
| +} // namespace WebKit
|
|
|