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

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

Issue 2386173002: reflow comments in Source/bindings/core/v8 (Closed)
Patch Set: Created 4 years, 2 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/V8DOMWrapper.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp
index c1655b2f9c2e195354ed6f072a96608f0936a091..598c7849184a513a3d75c786b24541ffefcfd366 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp
@@ -47,7 +47,8 @@ v8::Local<v8::Object> V8DOMWrapper::createWrapper(
v8::Local<v8::Object> creationContext,
const WrapperTypeInfo* type) {
ASSERT(!type->equals(&V8Window::wrapperTypeInfo));
- // According to https://html.spec.whatwg.org/multipage/browsers.html#security-location,
+ // According to
+ // https://html.spec.whatwg.org/multipage/browsers.html#security-location,
// cross-origin script access to a few properties of Location is allowed.
// Location already implements the necessary security checks.
bool withSecurityCheck = !type->equals(&V8Location::wrapperTypeInfo);
@@ -114,7 +115,8 @@ void V8WrapperInstantiationScope::securityCheck(
// Sandbox detached frames - they can't create cross origin objects.
LocalDOMWindow* callingWindow = currentDOMWindow(isolate);
DOMWindow* targetWindow = toDOMWindow(contextForWrapper);
- // TODO(jochen): Currently, Location is the only object for which we can reach this code path. Should be generalized.
+ // TODO(jochen): Currently, Location is the only object for which we can
+ // reach this code path. Should be generalized.
ExceptionState exceptionState(ExceptionState::ConstructionContext,
"Location", contextForWrapper->Global(),
isolate);
@@ -141,7 +143,8 @@ void V8WrapperInstantiationScope::securityCheck(
void V8WrapperInstantiationScope::convertException() {
v8::Isolate* isolate = m_context->GetIsolate();
- // TODO(jochen): Currently, Location is the only object for which we can reach this code path. Should be generalized.
+ // TODO(jochen): Currently, Location is the only object for which we can reach
+ // this code path. Should be generalized.
ExceptionState exceptionState(ExceptionState::ConstructionContext, "Location",
isolate->GetCurrentContext()->Global(),
isolate);

Powered by Google App Engine
This is Rietveld 408576698