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

Unified Diff: Source/devtools/front_end/timeline/TransformController.js

Issue 351903003: DevTools: Avoid private member access in non-profiler code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/devtools/front_end/timeline/TransformController.js
diff --git a/Source/devtools/front_end/timeline/TransformController.js b/Source/devtools/front_end/timeline/TransformController.js
index 73cad5ed4317d93c5d19badbd772e4a1089462d1..10b88ee5943c819129da72662953081557352b8f 100644
--- a/Source/devtools/front_end/timeline/TransformController.js
+++ b/Source/devtools/front_end/timeline/TransformController.js
@@ -34,7 +34,7 @@ WebInspector.TransformController.prototype = {
*/
registerShortcuts: function(registerShortcutDelegate)
{
- registerShortcutDelegate(WebInspector.ShortcutsScreen.LayersPanelShortcuts.ResetView, this._resetAndNotify.bind(this));
+ registerShortcutDelegate(WebInspector.ShortcutsScreen.LayersPanelShortcuts.ResetView, this.resetAndNotify.bind(this));
var zoomFactor = 1.1;
registerShortcutDelegate(WebInspector.ShortcutsScreen.LayersPanelShortcuts.ZoomIn, this._onKeyboardZoom.bind(this, zoomFactor));
registerShortcutDelegate(WebInspector.ShortcutsScreen.LayersPanelShortcuts.ZoomOut, this._onKeyboardZoom.bind(this, 1 / zoomFactor));
@@ -67,7 +67,7 @@ WebInspector.TransformController.prototype = {
/**
* @param {?Event=} event
*/
- _resetAndNotify: function(event)
+ resetAndNotify: function(event)
{
this._reset();
this._postChangeEvent();
« no previous file with comments | « Source/devtools/front_end/timeline/TracingTimelineUIUtils.js ('k') | Source/devtools/front_end/ui/SidebarTreeElement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698