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

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, 10 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 265bf5010ee54973e13f607d33675de45526a937..0e64274ba9766667803bdd060aeced52b54b3228 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);

Powered by Google App Engine
This is Rietveld 408576698