summaryrefslogtreecommitdiffstats
path: root/cc/layers/ui_resource_layer_impl.cc
diff options
context:
space:
mode:
authorerikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 06:34:32 +0000
committererikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 06:34:32 +0000
commitd2af1cdb2415db51159b45dc527cc16695f994b9 (patch)
tree0921aab591647f1ca7ce00535a47a559d1b74e71 /cc/layers/ui_resource_layer_impl.cc
parent47b73ae67fe442c8e19a3520046e454788d4218f (diff)
downloadchromium_src-d2af1cdb2415db51159b45dc527cc16695f994b9.zip
chromium_src-d2af1cdb2415db51159b45dc527cc16695f994b9.tar.gz
chromium_src-d2af1cdb2415db51159b45dc527cc16695f994b9.tar.bz2
mac: Balloon view layout should not use the deprecated SizeContents.
The SizeContents method on web_content_view is a long-standing hack, whose mac implementation has never been fully correct. I changed the mac implementation to be a no-op. Unfortunately, usage of SizeContents has creeped into inappropriate locations. In this case, the chrome embedder was using SizeContents to resize the balloon web content view, when it could have resized the frame of the web content view directly. Changing the behavior to use the latter implementation fixed the bug. BUG=353511 TEST=Following the steps listed in the bug. Review URL: https://codereview.chromium.org/196893005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layers/ui_resource_layer_impl.cc')
0 files changed, 0 insertions, 0 deletions