Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
index 21d913f7e50111fc43da8fc23b1b04daea2af229..57f1e7e3fab86ae646d6e3e098d470817899766f 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
@@ -32,6 +32,7 @@ |
#ifndef V8Binding_h |
#define V8Binding_h |
+#include "base/trace_event/trace_event.h" |
#include "bindings/core/v8/DOMDataStore.h" |
#include "bindings/core/v8/DOMWrapperWorld.h" |
#include "bindings/core/v8/ExceptionMessages.h" |
@@ -74,10 +75,6 @@ struct V8TypeOf { |
typedef void Type; |
}; |
-namespace TraceEvent { |
-class ConvertableToTraceFormat; |
-} |
- |
// Helpers for throwing JavaScript TypeErrors for arity mismatches. |
CORE_EXPORT void setArityTypeError(ExceptionState&, const char* valid, unsigned provided); |
CORE_EXPORT v8::Local<v8::Value> createMinimumArityTypeErrorForMethod(v8::Isolate*, const char* method, const char* type, unsigned expected, unsigned provided); |
@@ -1081,7 +1078,7 @@ private: |
mutable v8::Local<v8::Function> m_function; |
}; |
-PassRefPtr<TraceEvent::ConvertableToTraceFormat> devToolsTraceEventData(v8::Isolate*, ExecutionContext*, v8::Local<v8::Function>); |
+scoped_refptr<base::trace_event::ConvertableToTraceFormat> devToolsTraceEventData(v8::Isolate*, ExecutionContext*, v8::Local<v8::Function>); |
// Callback functions used by generated code. |
CORE_EXPORT void v8ConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>&); |