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

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: Review 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 | remoting/webapp/me2mom/client_session.js » ('j') | 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..25ab4a90ed0ed03d84ea7b9eddfe3bb3895e3668 100644
--- a/remoting/webapp/me2mom/client_screen.js
+++ b/remoting/webapp/me2mom/client_screen.js
@@ -122,8 +122,7 @@ remoting.toggleScaleToFit = function(button) {
*/
remoting.onResize = function() {
if (remoting.clientSession)
- remoting.clientSession.onWindowSizeChanged();
- remoting.toolbar.center();
+ remoting.clientSession.onResize();
}
/**
« no previous file with comments | « no previous file | remoting/webapp/me2mom/client_session.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698