Mozilla Home
Privacy
Cookies
Legal
Bugzilla
Browse
Advanced Search
New Bug
Reports
Documentation
Log In
Log In with GitHub
or
Remember me
Browse
Advanced Search
New Bug
Reports
Documentation
Attachment 554384 Details for
Bug 676321
[patch]
Bug 676321 - Small coding style fix in mobile's browser.js
small-coding-style-fix (text/plain), 1.17 KB, created by
Lucas Rocha (:lucasr)
(
hide
)
Description:
Bug 676321 - Small coding style fix in mobile's browser.js
Filename:
MIME Type:
Creator:
Lucas Rocha (:lucasr)
Size:
1.17 KB
patch
obsolete
># HG changeset patch ># Parent 04ef7d73d37cf7ec61c6e7d51168e43530b56beb ># User Lucas Rocha <lucasr@mozilla.com> >Bug 676321 - Small coding style fix in mobile's browser.js (r=mbrubeck) > >diff --git a/mobile/chrome/content/browser.js b/mobile/chrome/content/browser.js >--- a/mobile/chrome/content/browser.js >+++ b/mobile/chrome/content/browser.js >@@ -2931,18 +2931,17 @@ Tab.prototype = { > if (!browser) > return; > > let isDefault = this.isDefaultZoomLevel(); > this._defaultZoomLevel = this.getDefaultZoomLevel(); > if (isDefault) { > if (browser.scale != this._defaultZoomLevel) { > browser.scale = this._defaultZoomLevel; >- } >- else { >+ } else { > // If the scale level has not changed we want to be sure the content > // render correctly since the page refresh process could have been > // stalled during page load. In this case if the page has the exact > // same width (like the same page, so by doing 'refresh') and the > // page was scrolled the content is just checkerboard at this point > // and this call ensure we render it correctly. > browser.getRootView()._updateCacheViewport(); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Flags:
lucasr
: review+
Actions:
View
|
Diff
|
Review
Attachments on
bug 676321
:
550548
|
554046
|
554047
|
554048
|
554049
|
554050
|
554383
| 554384 |
554385
|
554386
|
554387