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

Unified Diff: Source/core/css/CSSParserMode.h

Issue 126443005: Use TreeScope::completeURL and baseURL instead of the Document versions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased again, passes tests Created 6 years, 11 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/css/CSSCursorImageValue.cpp ('k') | Source/core/css/CSSParserMode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSParserMode.h
diff --git a/Source/core/css/CSSParserMode.h b/Source/core/css/CSSParserMode.h
index 36084b87af86a946533d1d9df85d15bfc0f3b7ef..0c93de7ab0b03d2cbc9cf23e6d05cfe7b630f893 100644
--- a/Source/core/css/CSSParserMode.h
+++ b/Source/core/css/CSSParserMode.h
@@ -35,7 +35,7 @@
namespace WebCore {
-class Document;
+class TreeScope;
// Must not grow beyond 3 bits, due to packing in StylePropertySet.
enum CSSParserMode {
@@ -92,7 +92,7 @@ class CSSParserContext {
WTF_MAKE_FAST_ALLOCATED;
public:
CSSParserContext(CSSParserMode);
- CSSParserContext(const Document&, const KURL& baseURL = KURL(), const String& charset = emptyString());
+ CSSParserContext(const TreeScope&, const KURL& baseURL = KURL(), const String& charset = emptyString());
bool operator==(const CSSParserContext&) const;
bool operator!=(const CSSParserContext& other) const { return !(*this == other); }
« no previous file with comments | « Source/core/css/CSSCursorImageValue.cpp ('k') | Source/core/css/CSSParserMode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698