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

Unified Diff: pdf/out_of_process_instance.cc

Issue 424763008: Remove OS_NACL #ifdefs in pdf/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « pdf/instance.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/out_of_process_instance.cc
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc
index bd3b70f5e980694fbc431c1fca37157faa364b24..d1fd4173d8c48c40bc5b40b5f0835426b8a69e89 100644
--- a/pdf/out_of_process_instance.cc
+++ b/pdf/out_of_process_instance.cc
@@ -1305,9 +1305,6 @@ pp::URLLoader OutOfProcessInstance::CreateURLLoaderInternal() {
}
int OutOfProcessInstance::GetInitialPage(const std::string& url) {
-#if defined(OS_NACL)
- return -1;
-#else
size_t found_idx = url.find('#');
if (found_idx == std::string::npos)
return -1;
@@ -1348,7 +1345,6 @@ int OutOfProcessInstance::GetInitialPage(const std::string& url) {
}
}
return page;
-#endif
}
void OutOfProcessInstance::SetZoom(double scale) {
« no previous file with comments | « pdf/instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698