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

Unified Diff: sky/engine/bindings/core/v8/V8Binding.cpp

Issue 742583004: Make breakpoints not crash sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/bindings/core/v8/V8Binding.cpp
diff --git a/sky/engine/bindings/core/v8/V8Binding.cpp b/sky/engine/bindings/core/v8/V8Binding.cpp
index 99d512c638ec32834db43d3d4215cfef6162a641..585f2b2fe807db80d41a29c0f5bf340f668f105c 100644
--- a/sky/engine/bindings/core/v8/V8Binding.cpp
+++ b/sky/engine/bindings/core/v8/V8Binding.cpp
@@ -669,9 +669,7 @@ ExecutionContext* callingExecutionContext(v8::Isolate* isolate)
LocalFrame* toFrameIfNotDetached(v8::Handle<v8::Context> context)
{
- // FIXME(sky): remove.
- LocalDOMWindow* window = toDOMWindow(context);
- return window->frame();
+ return toDOMWindow(context)->frame();
}
v8::Local<v8::Context> toV8Context(ExecutionContext* context, DOMWrapperWorld& world)
« no previous file with comments | « no previous file | sky/engine/bindings/core/v8/V8Initializer.cpp » ('j') | sky/engine/bindings/core/v8/V8Initializer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698