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

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

Issue 2318743002: Provide v8::Context to v8::ValueDeserializer::ReadHeader. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueDeserializer.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueDeserializer.cpp b/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueDeserializer.cpp
index 9561aa556a52229c6c093567ed8accc51ff7cdcf..c63f2b14bc9c5e383c98fa1fbd630c727e0131a3 100644
--- a/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueDeserializer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueDeserializer.cpp
@@ -38,7 +38,7 @@ v8::Local<v8::Value> V8ScriptValueDeserializer::deserialize()
v8::Local<v8::Context> context = m_scriptState->context();
bool readHeader;
- if (!m_deserializer.ReadHeader().To(&readHeader))
+ if (!m_deserializer.ReadHeader(context).To(&readHeader))
return v8::Null(isolate);
DCHECK(readHeader);
m_version = m_deserializer.GetWireFormatVersion();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698