diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 09:22:47 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 09:22:47 +0000 |
commit | d2d9e014bf8ed05216b11eb032e0dbf2cf24a778 (patch) | |
tree | e03467e3c1a707ae318725d2c9a2f8e15c5571f3 /webkit/glue/devtools/js | |
parent | 4cc874f542d307a0c24469ffc8e89ed4e3650eb6 (diff) | |
download | chromium_src-d2d9e014bf8ed05216b11eb032e0dbf2cf24a778.zip chromium_src-d2d9e014bf8ed05216b11eb032e0dbf2cf24a778.tar.gz chromium_src-d2d9e014bf8ed05216b11eb032e0dbf2cf24a778.tar.bz2 |
DevTools: switch from CppBound* to pure v8 bindings in WebDevToolsClient host functions.
Review URL: http://codereview.chromium.org/100254
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15199 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/js')
-rw-r--r-- | webkit/glue/devtools/js/inspector_controller_impl.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/webkit/glue/devtools/js/inspector_controller_impl.js b/webkit/glue/devtools/js/inspector_controller_impl.js index 8f17f8b..8871675 100644 --- a/webkit/glue/devtools/js/inspector_controller_impl.js +++ b/webkit/glue/devtools/js/inspector_controller_impl.js @@ -38,10 +38,7 @@ devtools.InspectorControllerImpl.prototype.hiddenPanels = function() { */ devtools.InspectorControllerImpl.prototype.addSourceToFrame = function(mimeType, source, element) { - if (!element.id) { - element.id = 'f' + this.frame_element_id_++; - } - return DevToolsHost.addSourceToFrame(mimeType, source, element.id); + return DevToolsHost.addSourceToFrame(mimeType, source, element); }; @@ -134,10 +131,10 @@ devtools.InspectorControllerImpl.prototype.pauseOnExceptions = function() { /** * @override */ -devtools.InspectorControllerImpl.prototype.setPauseOnExceptions = function(
- value) {
+devtools.InspectorControllerImpl.prototype.setPauseOnExceptions = function( + value) { return devtools.tools.getDebuggerAgent().setPauseOnExceptions(value); -};
+}; var InspectorController = new devtools.InspectorControllerImpl(); |