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: Source/modules/filesystem/DOMFileSystemSync.cpp

Issue 111603006: Simplify invokeCallback() and support void return values for IDL callbacks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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
Index: Source/modules/filesystem/DOMFileSystemSync.cpp
diff --git a/Source/modules/filesystem/DOMFileSystemSync.cpp b/Source/modules/filesystem/DOMFileSystemSync.cpp
index 4e9abb5d8583c659e8d26b2311f70434b62e7a61..bb36cf128620ec9250dafa4ee66b5e1d84c1d45e 100644
--- a/Source/modules/filesystem/DOMFileSystemSync.cpp
+++ b/Source/modules/filesystem/DOMFileSystemSync.cpp
@@ -184,9 +184,8 @@ public:
return adoptPtr(new ReceiveFileWriterCallback());
}
- bool handleEvent(FileWriterBase*)
+ void handleEvent(FileWriterBase*)
{
- return true;
}
private:
@@ -202,11 +201,10 @@ public:
return adoptPtr(new LocalErrorCallback(errorCode));
}
- bool handleEvent(FileError* error)
+ void handleEvent(FileError* error)
{
ASSERT(error->code() != FileError::OK);
m_errorCode = error->code();
- return true;
}
private:

Powered by Google App Engine
This is Rietveld 408576698