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

Unified Diff: third_party/WebKit/Source/modules/fetch/Response.cpp

Issue 2595543003: Rename toV8(...) function in Blink to ToV8(...). (Closed)
Patch Set: Rebasing... Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/fetch/Response.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/Response.cpp b/third_party/WebKit/Source/modules/fetch/Response.cpp
index 6b4300cd2726bc285c540370352a76da15f8b218..7ce8bc03f59c8de1e2e0aae2286cbc09a8e50579 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.cpp
+++ b/third_party/WebKit/Source/modules/fetch/Response.cpp
@@ -187,7 +187,7 @@ Response* Response::create(ScriptState* scriptState,
// Add a hidden reference so that the weak persistent in the
// ReadableStreamBytesConsumer will be valid as long as the
// Response is valid.
- v8::Local<v8::Value> wrapper = toV8(response, scriptState);
+ v8::Local<v8::Value> wrapper = ToV8(response, scriptState);
if (wrapper.IsEmpty()) {
exceptionState.throwTypeError("Cannot create a Response wrapper");
return nullptr;
@@ -460,8 +460,8 @@ void Response::installBody() {
}
void Response::refreshBody(ScriptState* scriptState) {
- v8::Local<v8::Value> bodyBuffer = toV8(internalBodyBuffer(), scriptState);
- v8::Local<v8::Value> response = toV8(this, scriptState);
+ v8::Local<v8::Value> bodyBuffer = ToV8(internalBodyBuffer(), scriptState);
+ v8::Local<v8::Value> response = ToV8(this, scriptState);
if (response.IsEmpty()) {
// |toV8| can return an empty handle when the worker is terminating.
// We don't want the renderer to crash in such cases.
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Request.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698