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

Unified Diff: Source/core/dom/StringCallback.h

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/dom/StringCallback.h
diff --git a/Source/core/dom/StringCallback.h b/Source/core/dom/StringCallback.h
index 0e5b4c9e8de3ea0eb73471a2783e293d81078ca2..fdd260f01ce605a151da095ab4152935154ac5db 100644
--- a/Source/core/dom/StringCallback.h
+++ b/Source/core/dom/StringCallback.h
@@ -40,7 +40,7 @@ class ExecutionContext;
class StringCallback {
public:
virtual ~StringCallback() { }
- virtual bool handleEvent(const String& data) = 0;
+ virtual void handleEvent(const String& data) = 0;
// Helper to post callback task.
static void scheduleCallback(PassOwnPtr<StringCallback>, ExecutionContext*, const String& data);

Powered by Google App Engine
This is Rietveld 408576698