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

Unified Diff: Source/core/inspector/DOMPatchSupport.h

Issue 23453033: Have DOMPatchSupport and DocumentFragment deal with Document references (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | « Source/core/inspector/DOMEditor.cpp ('k') | Source/core/inspector/DOMPatchSupport.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/DOMPatchSupport.h
diff --git a/Source/core/inspector/DOMPatchSupport.h b/Source/core/inspector/DOMPatchSupport.h
index f843c837de5eb9bb7396cbfb1141a5fb994bd6bf..4462fb58f5d221f7a55dc64670fb73a547a10b72 100644
--- a/Source/core/inspector/DOMPatchSupport.h
+++ b/Source/core/inspector/DOMPatchSupport.h
@@ -48,9 +48,9 @@ class Node;
class DOMPatchSupport {
WTF_MAKE_NONCOPYABLE(DOMPatchSupport);
public:
- static void patchDocument(Document*, const String& markup);
+ static void patchDocument(Document&, const String& markup);
- DOMPatchSupport(DOMEditor*, Document*);
+ DOMPatchSupport(DOMEditor*, Document&);
virtual ~DOMPatchSupport();
void patchDocument(const String& markup);
@@ -73,7 +73,7 @@ private:
#endif
DOMEditor* m_domEditor;
- Document* m_document;
+ Document& m_document;
UnusedNodesMap m_unusedNodesMap;
};
« no previous file with comments | « Source/core/inspector/DOMEditor.cpp ('k') | Source/core/inspector/DOMPatchSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698