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

Unified Diff: ios/web/public/test/test_web_client.mm

Issue 1996723002: Switch ResourceBundle LoadDataResourceBytes to return RefCountedMemory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to address newly added use Created 4 years, 7 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
« no previous file with comments | « ios/web/public/test/test_web_client.h ('k') | ios/web/public/web_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/test_web_client.mm
diff --git a/ios/web/public/test/test_web_client.mm b/ios/web/public/test/test_web_client.mm
index 43566c315eab97ee7120fecae4934dd38797e018..8440a68f9470c650b3d72ecf2eae1acc3f4976db 100644
--- a/ios/web/public/test/test_web_client.mm
+++ b/ios/web/public/test/test_web_client.mm
@@ -26,7 +26,7 @@ bool TestWebClient::IsAppSpecificURL(const GURL& url) const {
return url.SchemeIs(kTestWebUIScheme);
}
-base::RefCountedStaticMemory* TestWebClient::GetDataResourceBytes(
+base::RefCountedMemory* TestWebClient::GetDataResourceBytes(
int resource_id) const {
if (!ResourceBundle::HasSharedInstance())
return nullptr;
« no previous file with comments | « ios/web/public/test/test_web_client.h ('k') | ios/web/public/web_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698