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

Unified Diff: pdf/pdfium/pdfium_page.cc

Issue 1223983002: Move WriteInto to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/pdfium/pdfium_engine.cc ('k') | remoting/host/token_validator_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_page.cc
diff --git a/pdf/pdfium/pdfium_page.cc b/pdf/pdfium/pdfium_page.cc
index e514af33d324fccb0ad61f3421cc8f2fdd751789..a7912a6e344bf60ebe8f3382be9f9620444d0cec 100644
--- a/pdf/pdfium/pdfium_page.cc
+++ b/pdf/pdfium/pdfium_page.cc
@@ -157,7 +157,7 @@ base::Value* PDFiumPage::GetTextBoxAsValue(double page_height,
FPDFText_GetBoundedText(GetTextPage(), left, top, right, bottom, NULL, 0);
if (char_count > 0) {
unsigned short* data = reinterpret_cast<unsigned short*>(
- WriteInto(&text_utf16, char_count + 1));
+ base::WriteInto(&text_utf16, char_count + 1));
FPDFText_GetBoundedText(GetTextPage(),
left, top, right, bottom,
data, char_count);
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | remoting/host/token_validator_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698