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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "bindings/core/v8/ScriptState.h" 5 #include "bindings/core/v8/ScriptState.h"
6 6
7 #include "bindings/core/v8/V8Binding.h" 7 #include "bindings/core/v8/V8Binding.h"
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "core/frame/LocalDOMWindow.h" 9 #include "core/frame/LocalDOMWindow.h"
10 #include "core/frame/LocalFrame.h" 10 #include "core/frame/LocalFrame.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 ASSERT(frame); 137 ASSERT(frame);
138 v8::HandleScope handleScope(toIsolate(frame)); 138 v8::HandleScope handleScope(toIsolate(frame));
139 v8::Local<v8::Context> context = toV8Context(frame, world); 139 v8::Local<v8::Context> context = toV8Context(frame, world);
140 if (context.IsEmpty()) 140 if (context.IsEmpty())
141 return nullptr; 141 return nullptr;
142 ScriptState* scriptState = ScriptState::from(context); 142 ScriptState* scriptState = ScriptState::from(context);
143 ASSERT(scriptState->contextIsValid()); 143 ASSERT(scriptState->contextIsValid());
144 return scriptState; 144 return scriptState;
145 } 145 }
146 146
147 } 147 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698