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

Unified Diff: content/test/test_content_client.cc

Issue 10686005: Add methods to add DataPack from open files (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
« no previous file with comments | « content/shell/shell_main_delegate.cc ('k') | ui/aura/test/test_aura_initializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_content_client.cc
diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc
index 2e2b3d80a5489f3b80331f8222c2e8d5bd7ab06d..dc14eb193edf2ea51b524d4b03f33d0e5676bfd4 100644
--- a/content/test/test_content_client.cc
+++ b/content/test/test_content_client.cc
@@ -16,7 +16,7 @@ TestContentClient::TestContentClient()
PathService::Get(base::DIR_MODULE, &content_resources_pack_path);
content_resources_pack_path = content_resources_pack_path.Append(
FILE_PATH_LITERAL("content_resources.pak"));
- data_pack_.Load(content_resources_pack_path);
+ data_pack_.LoadFromPath(content_resources_pack_path);
}
TestContentClient::~TestContentClient() {
« no previous file with comments | « content/shell/shell_main_delegate.cc ('k') | ui/aura/test/test_aura_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698