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

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

Issue 1841363003: Replace RELEASE_ASSERT_WITH_SECURITY_IMPLICATION with SECURITY_CHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
index 493352d7b64ef233b812bbb67f375a23c4546c24..7f2fdd8d6e867479d114633a38bbf5204c2c9312 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
@@ -93,7 +93,7 @@ inline v8::Local<v8::Object> V8DOMWrapper::associateObjectWithWrapper(v8::Isolat
setNativeInfo(wrapper, wrapperTypeInfo, impl);
ASSERT(hasInternalFieldsSet(wrapper));
}
- RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(toScriptWrappable(wrapper) == impl);
+ SECURITY_CHECK(toScriptWrappable(wrapper) == impl);
return wrapper;
}
@@ -104,7 +104,7 @@ inline v8::Local<v8::Object> V8DOMWrapper::associateObjectWithWrapper(v8::Isolat
setNativeInfo(wrapper, wrapperTypeInfo, ScriptWrappable::fromNode(node));
ASSERT(hasInternalFieldsSet(wrapper));
}
- RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(toScriptWrappable(wrapper) == ScriptWrappable::fromNode(node));
+ SECURITY_CHECK(toScriptWrappable(wrapper) == ScriptWrappable::fromNode(node));
return wrapper;
}

Powered by Google App Engine
This is Rietveld 408576698