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

Unified Diff: third_party/WebKit/Source/core/events/MessageEvent.cpp

Issue 2785943002: [Bindings] Simplify V8PrivateProperty::Symbol methods (Closed)
Patch Set: work for comments Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/MessageEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/MessageEvent.cpp b/third_party/WebKit/Source/core/events/MessageEvent.cpp
index 605eba437c7dfc84ea7019fb8a6343013794a97e..b737d47d111be724fa5bc2f66a0437d5992e3202 100644
--- a/third_party/WebKit/Source/core/events/MessageEvent.cpp
+++ b/third_party/WebKit/Source/core/events/MessageEvent.cpp
@@ -269,15 +269,13 @@ v8::Local<v8::Object> MessageEvent::associateWithWrapper(
break;
case MessageEvent::DataTypeString:
V8PrivateProperty::getMessageEventCachedData(isolate).set(
- isolate->GetCurrentContext(), wrapper,
- v8String(isolate, dataAsString()));
+ wrapper, v8String(isolate, dataAsString()));
break;
case MessageEvent::DataTypeBlob:
break;
case MessageEvent::DataTypeArrayBuffer:
V8PrivateProperty::getMessageEventCachedData(isolate).set(
- isolate->GetCurrentContext(), wrapper,
- ToV8(dataAsArrayBuffer(), wrapper, isolate));
+ wrapper, ToV8(dataAsArrayBuffer(), wrapper, isolate));
break;
}
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698