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

Unified Diff: Source/WebCore/inspector/front-end/Object.js

Issue 9968120: Merge 112992 - Web Inspector: "Pause on start" doesn't change checked state in workers panel (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 9 months 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/WebCore/inspector/front-end/Object.js
===================================================================
--- Source/WebCore/inspector/front-end/Object.js (revision 113151)
+++ Source/WebCore/inspector/front-end/Object.js (working copy)
@@ -133,10 +133,14 @@
this.defaultPrevented = true;
},
- consume: function()
+ /**
+ * @param {boolean=} preventDefault
+ */
+ consume: function(preventDefault)
{
this.stopPropagation();
- this.preventDefault();
+ if (preventDefault)
+ this.preventDefault();
}
}
« no previous file with comments | « Source/WebCore/inspector/front-end/Drawer.js ('k') | Source/WebCore/inspector/front-end/ObjectPropertiesSection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698