Chromium Code Reviews| Index: src/snapshot/code-serializer.h |
| diff --git a/src/snapshot/code-serializer.h b/src/snapshot/code-serializer.h |
| index 8ed4cf67ac9f9f16a8890e21bd892a3480320084..683d7eb3e1d87ae4fccdc59a4064c45ce78af237 100644 |
| --- a/src/snapshot/code-serializer.h |
| +++ b/src/snapshot/code-serializer.h |
| @@ -60,7 +60,7 @@ class SerializedCodeData : public SerializedData { |
| String* source); |
| // Used when producing. |
| - SerializedCodeData(const List<byte>& payload, const CodeSerializer& cs); |
|
vogelheim
2016/06/09 13:46:10
Here & elsewhere: Why remove the const-ness?
(I'm
Yang
2016/06/10 05:33:27
Good point. I'll keep the constness around.
|
| + SerializedCodeData(List<byte>* payload, CodeSerializer* cs); |
| // Return ScriptData object and relinquish ownership over it to the caller. |
| ScriptData* GetScriptData(); |