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

Unified Diff: remoting/webapp/me2mom/client_screen.js

Issue 8897017: Fix null pointer error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/client_screen.js
diff --git a/remoting/webapp/me2mom/client_screen.js b/remoting/webapp/me2mom/client_screen.js
index 0090c53c2ef7e3e36cb2acb6ac948e8539f5fb01..cc2dd43d383c94138f364616f889ec89aa632d2f 100644
--- a/remoting/webapp/me2mom/client_screen.js
+++ b/remoting/webapp/me2mom/client_screen.js
@@ -123,7 +123,8 @@ remoting.toggleScaleToFit = function(button) {
remoting.onResize = function() {
if (remoting.clientSession)
remoting.clientSession.onWindowSizeChanged();
- remoting.toolbar.center();
+ if (remoting.toolbar)
Sergey Ulanov 2011/12/09 22:36:04 Maybe change remoting.Toolbar to add onResize hand
Wez 2011/12/09 22:46:53 That sounds reasonable; we should also rename Clie
Jamie 2011/12/09 23:11:48 Both good points. Done.
+ remoting.toolbar.center();
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698