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

Unified Diff: content/child/dwrite_font_proxy/font_fallback_win_unittest.cc

Issue 2182213004: Use ChildThreadImpl::thread_safe_sender in font proxy if available (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittests Created 4 years, 5 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: content/child/dwrite_font_proxy/font_fallback_win_unittest.cc
diff --git a/content/child/dwrite_font_proxy/font_fallback_win_unittest.cc b/content/child/dwrite_font_proxy/font_fallback_win_unittest.cc
index b5faca2bcc0128949cf4cf549b6f1e95ba20ef01..90d82c44ead3617cf34ba53646499dbe9c85bf40 100644
--- a/content/child/dwrite_font_proxy/font_fallback_win_unittest.cc
+++ b/content/child/dwrite_font_proxy/font_fallback_win_unittest.cc
@@ -44,7 +44,8 @@ class FontFallbackUnitTest : public testing::Test {
.AddFilePath(segoe_path);
mswr::MakeAndInitialize<DWriteFontCollectionProxy>(
- &collection_, factory_.Get(), fake_collection_->GetSender());
+ &collection_, factory_.Get(),
+ base::Bind(&FakeFontCollection::GetSender, fake_collection_));
}
void CreateDWriteFactory(IUnknown** factory) {

Powered by Google App Engine
This is Rietveld 408576698