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

Unified Diff: Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.h

Issue 209713003: Make DOMWrapperWorld::current() return a reference instead of a pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.h
diff --git a/Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.h b/Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.h
index 19ed7e45d44cc0c89f50027d645a11025d26a524..a8bcad868a65875d7b4e4cd8c726a8cf7c9b20c1 100644
--- a/Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.h
+++ b/Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.h
@@ -78,7 +78,7 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceDoNo
template<typename CallbackInfo>
inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfaceDoNotCheckConstants* impl)
{
- ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate())->isMainWorld());
+ ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate()).isMainWorld());
if (UNLIKELY(!impl)) {
v8SetReturnValueNull(callbackInfo);
return;

Powered by Google App Engine
This is Rietveld 408576698