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

Unified Diff: third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
index 261025df6f18a7350204b62d7b9bb0826df6c8fd..4dcf29c064d4c6eeb56b7842768affd494109cad 100644
--- a/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
@@ -339,7 +339,7 @@ void FontBuilder::updateComputedSize(FontDescription& fontDescription, const Com
fontDescription.setComputedSize(computedSize);
}
-void FontBuilder::createFont(RawPtr<FontSelector> fontSelector, ComputedStyle& style)
+void FontBuilder::createFont(FontSelector* fontSelector, ComputedStyle& style)
{
if (!m_flags)
return;
@@ -382,14 +382,14 @@ void FontBuilder::createFont(RawPtr<FontSelector> fontSelector, ComputedStyle& s
updateSpecifiedSize(description, style);
updateComputedSize(description, style);
- updateAdjustedSize(description, style, fontSelector.get());
+ updateAdjustedSize(description, style, fontSelector);
style.setFontDescription(description);
style.font().update(fontSelector);
m_flags = 0;
}
-void FontBuilder::createFontForDocument(RawPtr<FontSelector> fontSelector, ComputedStyle& documentStyle)
+void FontBuilder::createFontForDocument(FontSelector* fontSelector, ComputedStyle& documentStyle)
{
FontDescription fontDescription = FontDescription();
fontDescription.setLocale(documentStyle.locale());

Powered by Google App Engine
This is Rietveld 408576698