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

Unified Diff: src/snapshot/code-serializer.h

Issue 2781993005: Protect SerializedData from copying. (Closed)
Patch Set: Use DISALLOW_COPY_AND_ASSIGN macro. Created 3 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
« no previous file with comments | « no previous file | src/snapshot/code-serializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/code-serializer.h
diff --git a/src/snapshot/code-serializer.h b/src/snapshot/code-serializer.h
index 52e4daaf9945fb476eb550f897a35a62e5bb880b..38112cd9261de57aa76fe9cd6fa252af67c2f567 100644
--- a/src/snapshot/code-serializer.h
+++ b/src/snapshot/code-serializer.h
@@ -116,9 +116,10 @@ class SerializedCodeData : public SerializedData {
static const int kHeaderSize = POINTER_SIZE_ALIGN(kUnalignedHeaderSize);
// Used when consuming.
- static const SerializedCodeData FromCachedData(
- Isolate* isolate, ScriptData* cached_data, uint32_t expected_source_hash,
- SanityCheckResult* rejection_result);
+ static SerializedCodeData FromCachedData(Isolate* isolate,
+ ScriptData* cached_data,
+ uint32_t expected_source_hash,
+ SanityCheckResult* rejection_result);
// Used when producing.
SerializedCodeData(const List<byte>* payload, const CodeSerializer* cs);
« no previous file with comments | « no previous file | src/snapshot/code-serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698