summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-29 21:31:52 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-29 21:31:52 +0000
commit3250c41ac312d952b7784702a44e36dc11a53286 (patch)
treedff20c06c5d4aef94209b4d01a08b94e28827e03 /chrome/browser/resources
parentafc82157d0f6f9ecf2211c8c64ebb5ecc63b4200 (diff)
downloadchromium_src-3250c41ac312d952b7784702a44e36dc11a53286.zip
chromium_src-3250c41ac312d952b7784702a44e36dc11a53286.tar.gz
chromium_src-3250c41ac312d952b7784702a44e36dc11a53286.tar.bz2
Nudge webkit so that it redraws network details overlay properly.
BUG=chromium-os:9619 TEST=Verify fix for chromium-os:9619 Review URL: http://codereview.chromium.org/5337009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67588 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/options/chromeos_internet_options.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/resources/options/chromeos_internet_options.js b/chrome/browser/resources/options/chromeos_internet_options.js
index c7adfa1..2c6efef 100644
--- a/chrome/browser/resources/options/chromeos_internet_options.js
+++ b/chrome/browser/resources/options/chromeos_internet_options.js
@@ -211,6 +211,13 @@ cr.define('options', function() {
} else {
page.removeAttribute('hasactiveplan');
}
+
+ // Nudge webkit so that it redraws the details overlay page.
+ // See http://crosbug.com/9616 for details.
+ // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=50176
+ var dummy = page.ownerDocument.createTextNode(' ');
+ page.appendChild(dummy);
+ page.removeChild(dummy);
};
InternetOptions.showPasswordEntry = function (data) {