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

Unified Diff: content/common/page_state_serialization.h

Issue 400923002: Save some gcc footprint (15 KB) in ExplodedFrameState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ExplodedFrameSet - not inlined Created 6 years, 5 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 | content/common/page_state_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/page_state_serialization.h
diff --git a/content/common/page_state_serialization.h b/content/common/page_state_serialization.h
index d3d3b02973915fd80115a376005d318504746d17..9a970a6becbaae9c12f4613b9e1aaac0974c5d02 100644
--- a/content/common/page_state_serialization.h
+++ b/content/common/page_state_serialization.h
@@ -58,7 +58,12 @@ struct CONTENT_EXPORT ExplodedFrameState {
std::vector<ExplodedFrameState> children;
ExplodedFrameState();
+ ExplodedFrameState(const ExplodedFrameState& other);
~ExplodedFrameState();
+ void operator=(const ExplodedFrameState& other);
+
+private:
+ void assign(const ExplodedFrameState& other);
};
struct CONTENT_EXPORT ExplodedPageState {
« no previous file with comments | « no previous file | content/common/page_state_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698