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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp

Issue 1818233003: Merge WTF::initializeMainThread into WTF::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/
4 * Copyright (C) 2010 Google Inc. All Rights Reserved. 4 * Copyright (C) 2010 Google Inc. All Rights Reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 30 matching lines...) Expand all
41 #include "core/html/HTMLImageElement.h" 41 #include "core/html/HTMLImageElement.h"
42 #include "core/html/HTMLMetaElement.h" 42 #include "core/html/HTMLMetaElement.h"
43 #include "core/html/LinkRelAttribute.h" 43 #include "core/html/LinkRelAttribute.h"
44 #include "core/html/parser/HTMLParserIdioms.h" 44 #include "core/html/parser/HTMLParserIdioms.h"
45 #include "core/html/parser/HTMLSrcsetParser.h" 45 #include "core/html/parser/HTMLSrcsetParser.h"
46 #include "core/html/parser/HTMLTokenizer.h" 46 #include "core/html/parser/HTMLTokenizer.h"
47 #include "core/loader/LinkLoader.h" 47 #include "core/loader/LinkLoader.h"
48 #include "platform/ContentType.h" 48 #include "platform/ContentType.h"
49 #include "platform/MIMETypeRegistry.h" 49 #include "platform/MIMETypeRegistry.h"
50 #include "platform/TraceEvent.h" 50 #include "platform/TraceEvent.h"
51 #include "wtf/MainThread.h"
52 51
53 namespace blink { 52 namespace blink {
54 53
55 using namespace HTMLNames; 54 using namespace HTMLNames;
56 55
57 static bool match(const StringImpl* impl, const QualifiedName& qName) 56 static bool match(const StringImpl* impl, const QualifiedName& qName)
58 { 57 {
59 return impl == qName.localName().impl(); 58 return impl == qName.localName().impl();
60 } 59 }
61 60
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 ASSERT(isMainThread()); 689 ASSERT(isMainThread());
691 ASSERT(document); 690 ASSERT(document);
692 doHtmlPreloadScanning = !document->settings() || document->settings()->doHtm lPreloadScanning(); 691 doHtmlPreloadScanning = !document->settings() || document->settings()->doHtm lPreloadScanning();
693 defaultViewportMinWidth = document->viewportDefaultMinWidth(); 692 defaultViewportMinWidth = document->viewportDefaultMinWidth();
694 viewportMetaZeroValuesQuirk = document->settings() && document->settings()-> viewportMetaZeroValuesQuirk(); 693 viewportMetaZeroValuesQuirk = document->settings() && document->settings()-> viewportMetaZeroValuesQuirk();
695 viewportMetaEnabled = document->settings() && document->settings()->viewport MetaEnabled(); 694 viewportMetaEnabled = document->settings() && document->settings()->viewport MetaEnabled();
696 referrerPolicy = ReferrerPolicyDefault; 695 referrerPolicy = ReferrerPolicyDefault;
697 } 696 }
698 697
699 } // namespace blink 698 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698