Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp

Issue 2687943004: Abstract out ThreadDebugger from V8PerIsolateData (Closed)
Patch Set: Initialize HiddenValue and PrivateProperty in V8Initializer Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp b/third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp
index b04f27386a8bf845f64c78a63825dceafd4ffc9a..8d5f7618ea6359bf68209a82007185ec24063988 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp
@@ -12,8 +12,7 @@ namespace blink {
#define V8_DEFINE_METHOD(name) \
v8::Local<v8::String> V8HiddenValue::name(v8::Isolate* isolate) { \
- V8HiddenValue* hiddenValue = \
- V8PerIsolateData::from(isolate)->hiddenValue(); \
+ V8HiddenValue* hiddenValue = from(isolate); \
if (hiddenValue->m_##name.isEmpty()) { \
hiddenValue->m_##name.set(isolate, v8AtomicString(isolate, #name)); \
} \

Powered by Google App Engine
This is Rietveld 408576698