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

Unified Diff: pdf/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 | « no previous file | pdf/out_of_process_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/instance.cc
diff --git a/pdf/instance.cc b/pdf/instance.cc
index c796cd5588c103d8299890d5c4a7a26a4cb742c9..0ba1e6639b1702267ca7c924a77dbc2e4b3c2e79 100644
--- a/pdf/instance.cc
+++ b/pdf/instance.cc
@@ -2323,9 +2323,6 @@ pp::URLLoader Instance::CreateURLLoaderInternal() {
}
int Instance::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;
@@ -2366,7 +2363,6 @@ int Instance::GetInitialPage(const std::string& url) {
}
}
return page;
-#endif
}
void Instance::UpdateToolbarPosition(bool invalidate) {
« no previous file with comments | « no previous file | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698