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

Unified Diff: Source/core/inspector/InspectorFileSystemAgent.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/core/inspector/InspectorFileSystemAgent.cpp
diff --git a/Source/core/inspector/InspectorFileSystemAgent.cpp b/Source/core/inspector/InspectorFileSystemAgent.cpp
index e968a1b04b9eea871ba9e8623fb680235e8b92bc..e98e62fc5ee2f360100d1ac583cef2089d6e4ee9 100644
--- a/Source/core/inspector/InspectorFileSystemAgent.cpp
+++ b/Source/core/inspector/InspectorFileSystemAgent.cpp
@@ -89,9 +89,9 @@ public:
return adoptPtr(new CallbackDispatcher(handler, handlingMethod));
}
- virtual bool handleEvent(Argument argument) OVERRIDE
+ virtual void handleEvent(Argument argument) OVERRIDE
{
- return (m_handler.get()->*m_handlingMethod)(argument);
+ (m_handler.get()->*m_handlingMethod)(argument);
}
private:
@@ -519,9 +519,9 @@ private:
{
}
- virtual bool handleEvent() OVERRIDE
+ virtual void handleEvent() OVERRIDE
{
- return m_handler->didDeleteEntry();
+ m_handler->didDeleteEntry();
}
private:

Powered by Google App Engine
This is Rietveld 408576698