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

Unified Diff: Source/core/dom/Comment.h

Issue 14931009: Make Comment constructable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 7 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 | « LayoutTests/fast/dom/dom-constructors-expected.txt ('k') | Source/core/dom/Comment.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Comment.h
diff --git a/Source/core/dom/Comment.h b/Source/core/dom/Comment.h
index df79fbb4605c3a14d1021d9c2e59892f1eff445b..5ef2285093464bb00847f782a1854f2ca391b92f 100644
--- a/Source/core/dom/Comment.h
+++ b/Source/core/dom/Comment.h
@@ -27,9 +27,12 @@
namespace WebCore {
+class ScriptExecutionContext;
+
class Comment FINAL : public CharacterData {
public:
static PassRefPtr<Comment> create(Document*, const String&);
+ static PassRefPtr<Comment> create(ScriptExecutionContext*, const String&);
private:
Comment(Document*, const String&);
« no previous file with comments | « LayoutTests/fast/dom/dom-constructors-expected.txt ('k') | Source/core/dom/Comment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698