summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/dom_ui_bindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/dom_ui_bindings.cc')
-rw-r--r--chrome/renderer/dom_ui_bindings.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/renderer/dom_ui_bindings.cc b/chrome/renderer/dom_ui_bindings.cc
index d5fb7c5..5ca2e57 100644
--- a/chrome/renderer/dom_ui_bindings.cc
+++ b/chrome/renderer/dom_ui_bindings.cc
@@ -12,6 +12,11 @@
#include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
#include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
+DOMBoundBrowserObject::DOMBoundBrowserObject()
+ : sender_(NULL),
+ routing_id_(0) {
+}
+
DOMBoundBrowserObject::~DOMBoundBrowserObject() {
STLDeleteContainerPointers(properties_.begin(), properties_.end());
}
@@ -20,6 +25,8 @@ DOMUIBindings::DOMUIBindings() {
BindMethod("send", &DOMUIBindings::send);
}
+DOMUIBindings::~DOMUIBindings() {}
+
void DOMUIBindings::send(const CppArgumentList& args, CppVariant* result) {
// We expect at least a string message identifier, and optionally take
// an object parameter. If we get anything else we bail.