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

Unified Diff: trunk/src/chrome/browser/ui/pdf/pdf_browsertest.cc

Issue 126093004: Revert 243291 "[Buildfix] Fix PlatformFileInfo usage in pdf_brow..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/ui/pdf/pdf_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/ui/pdf/pdf_browsertest.cc (revision 243335)
+++ trunk/src/chrome/browser/ui/pdf/pdf_browsertest.cc (working copy)
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/file_util.h"
-#include "base/files/file.h"
#include "base/files/file_enumerator.h"
#include "base/hash.h"
#include "base/path_service.h"
@@ -130,7 +129,7 @@
base::FilePath reference = ui_test_utils::GetTestFilePath(
GetPDFTestDir(),
base::FilePath().AppendASCII(expected_filename_));
- base::File::Info info;
+ base::PlatformFileInfo info;
ASSERT_TRUE(base::GetFileInfo(reference, &info));
int size = static_cast<size_t>(info.size);
scoped_ptr<char[]> data(new char[size]);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698