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

Unified Diff: Source/core/html/imports/HTMLImportStateResolver.h

Issue 799523003: Oilpan: insist on HTMLImportStateResolver stack allocation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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: Source/core/html/imports/HTMLImportStateResolver.h
diff --git a/Source/core/html/imports/HTMLImportStateResolver.h b/Source/core/html/imports/HTMLImportStateResolver.h
index 5f1747e3435b4b77a68f506a30a91a8f787e4a9a..62fb54ce72dd5b7594a486b29c82cb0387392804 100644
--- a/Source/core/html/imports/HTMLImportStateResolver.h
+++ b/Source/core/html/imports/HTMLImportStateResolver.h
@@ -32,16 +32,19 @@
#define HTMLImportStateResolver_h
#include "core/html/imports/HTMLImportState.h"
+#include "platform/heap/Handle.h"
namespace blink {
class HTMLImport;
class HTMLImportStateResolver {
+ STACK_ALLOCATED();
public:
explicit HTMLImportStateResolver(HTMLImport* import)
: m_import(import)
- { }
+ {
+ }
HTMLImportState resolve() const;
@@ -51,7 +54,7 @@ private:
bool shouldBlockScriptExecution() const;
bool isActive() const;
- HTMLImport* m_import;
+ RawPtrWillBeMember<HTMLImport> m_import;
};
}
« 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