From daaa7a9c208671b7b450cf292569fa2f486850fe Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 15 Dec 2014 12:21:17 +0100 Subject: Do not use QDir::separator() Build all paths Qt-style using / separators, and only convert it when converted to Chromium types. Change-Id: I181be6edb903f38e1772bcd324972d1d4e6672fc Reviewed-by: Pierre Rossi --- src/core/browser_context_qt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/browser_context_qt.cpp') diff --git a/src/core/browser_context_qt.cpp b/src/core/browser_context_qt.cpp index e2cc8851b..9337b6b6b 100644 --- a/src/core/browser_context_qt.cpp +++ b/src/core/browser_context_qt.cpp @@ -61,12 +61,12 @@ BrowserContextQt::~BrowserContextQt() base::FilePath BrowserContextQt::GetPath() const { - return base::FilePath(toFilePathString(m_adapter->dataPath())); + return toFilePath(m_adapter->dataPath()); } base::FilePath BrowserContextQt::GetCachePath() const { - return base::FilePath(toFilePathString(m_adapter->cachePath())); + return toFilePath(m_adapter->cachePath()); } bool BrowserContextQt::IsOffTheRecord() const -- cgit v1.2.3