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

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

Issue 224733011: A sizes attribute parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed rebase 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 2e0b3c3d498b8816bd6189fcb84b6092946fee6e..f5e6f1d5a4e48375cdc555236cd85f99a92aa852 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/MediaValues.h"
+#include "core/css/MediaValuesCached.h"
#include "core/dom/DocumentFragment.h"
#include "core/dom/Element.h"
#include "core/frame/LocalFrame.h"
@@ -540,7 +540,8 @@ Document* HTMLDocumentParser::contextForParsingSession()
static PassRefPtr<MediaValues> createMediaValues(Document* document)
{
- RefPtr<MediaValues> mediaValues = MediaValues::create(document, MediaValues::CachingMode);
+ ASSERT(document);
+ RefPtr<MediaValues> mediaValues = MediaValuesCached::create(*document);
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