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

Unified Diff: third_party/WebKit/Source/core/dom/StyleElement.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/StyleElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleElement.cpp b/third_party/WebKit/Source/core/dom/StyleElement.cpp
index 690d9d17d1fc08b0adf602928f5f6f8d63f8ceaa..b50630e784b02094b5806d3148a4b015a683a822 100644
--- a/third_party/WebKit/Source/core/dom/StyleElement.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleElement.cpp
@@ -101,7 +101,7 @@ void StyleElement::removedFrom(Element* element, ContainerNode* insertionPoint)
m_registeredAsCandidate = false;
}
- RefPtrWillBeRawPtr<StyleSheet> removedSheet = m_sheet.get();
+ RawPtr<StyleSheet> removedSheet = m_sheet.get();
if (m_sheet)
clearSheet(element);
@@ -183,12 +183,12 @@ StyleElement::ProcessingResult StyleElement::createSheet(Element* e, const Strin
|| csp->allowInlineStyle(e->document().url(), m_startPosition.m_line, text);
// Clearing the current sheet may remove the cache entry so create the new sheet first
- RefPtrWillBeRawPtr<CSSStyleSheet> newSheet = nullptr;
+ RawPtr<CSSStyleSheet> newSheet = nullptr;
// If type is empty or CSS, this is a CSS style sheet.
const AtomicString& type = this->type();
if (isCSS(e, type) && passesContentSecurityPolicyChecks) {
- RefPtrWillBeRawPtr<MediaQuerySet> mediaQueries = MediaQuerySet::create(media());
+ RawPtr<MediaQuerySet> mediaQueries = MediaQuerySet::create(media());
MediaQueryEvaluator screenEval("screen", true);
MediaQueryEvaluator printEval("print", true);
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleElement.h ('k') | third_party/WebKit/Source/core/dom/StyleElementTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698