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

Unified Diff: Source/core/html/parser/HTMLDocumentParser.cpp

Issue 240063003: Revert "A sizes attribute parser" (https://codereview.chromium.org/224733011) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/html/HTMLImageElement.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLDocumentParser.cpp
diff --git a/Source/core/html/parser/HTMLDocumentParser.cpp b/Source/core/html/parser/HTMLDocumentParser.cpp
index f5e6f1d5a4e48375cdc555236cd85f99a92aa852..2e0b3c3d498b8816bd6189fcb84b6092946fee6e 100644
--- a/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -27,7 +27,7 @@
#include "core/html/parser/HTMLDocumentParser.h"
#include "HTMLNames.h"
-#include "core/css/MediaValuesCached.h"
+#include "core/css/MediaValues.h"
#include "core/dom/DocumentFragment.h"
#include "core/dom/Element.h"
#include "core/frame/LocalFrame.h"
@@ -540,8 +540,7 @@ Document* HTMLDocumentParser::contextForParsingSession()
static PassRefPtr<MediaValues> createMediaValues(Document* document)
{
- ASSERT(document);
- RefPtr<MediaValues> mediaValues = MediaValuesCached::create(*document);
+ RefPtr<MediaValues> mediaValues = MediaValues::create(document, MediaValues::CachingMode);
ASSERT(mediaValues->isSafeToSendToAnotherThread());
return mediaValues;
}
« no previous file with comments | « Source/core/html/HTMLImageElement.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698