Commit 679dda06 authored by pilgrim@chromium.org's avatar pilgrim@chromium.org

[Chromium] Move fileExists to Platform.h

https://bugs.webkit.org/show_bug.cgi?id=87531

Reviewed by Adam Barth.

Call fileExists through fileUtilities(), not directly.

Source/Platform:

* chromium/public/Platform.h:
(Platform):

Source/WebCore:

* platform/chromium/FileSystemChromium.cpp:
(WebCore::fileExists):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e647161d
2012-05-29 Mark Pilgrim <pilgrim@chromium.org>
[Chromium] Move fileExists to Platform.h
https://bugs.webkit.org/show_bug.cgi?id=87531
Reviewed by Adam Barth.
Call fileExists through fileUtilities(), not directly.
* chromium/public/Platform.h:
(Platform):
2012-05-29 Mark Pilgrim <pilgrim@chromium.org>
[Chromium] Move fileExists to Platform.h
......
......@@ -106,8 +106,6 @@ public:
// Must return non-null.
virtual WebFileSystem* fileSystem() { return 0; }
virtual bool fileExists(const WebString&) { return false; }
// Gamepad -------------------------------------------------------------
......
2012-05-29 Mark Pilgrim <pilgrim@chromium.org>
[Chromium] Move fileExists to Platform.h
https://bugs.webkit.org/show_bug.cgi?id=87531
Reviewed by Adam Barth.
Call fileExists through fileUtilities(), not directly.
* platform/chromium/FileSystemChromium.cpp:
(WebCore::fileExists):
2012-05-29 Kentaro Hara <haraken@chromium.org>
Remove a dummy style sheet from CSSParser::parseFlowThread()
......
......@@ -37,6 +37,7 @@
#include "PlatformSupport.h"
#include <public/Platform.h>
#include <public/WebFileUtilities.h>
namespace WebCore {
......@@ -90,7 +91,7 @@ bool makeAllDirectories(const String& path)
bool fileExists(const String& path)
{
return WebKit::Platform::current()->fileExists(path);
return WebKit::Platform::current()->fileUtilities()->fileExists(path);
}
PlatformFileHandle openFile(const String& path, FileOpenMode mode)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment