diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2011-02-08 18:33:22 -0800 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2011-02-09 18:08:46 -0800 |
commit | 3a7568b5aa8ee4ef6ba961eae690b498f5ba8e9e (patch) | |
tree | 8b3bed2574fd759eedff5a9d92f951820552cf5d /WebCore/fileapi | |
parent | a06decf9b3f66476b76925670e73fe4ac873b58f (diff) | |
download | external_webkit-3a7568b5aa8ee4ef6ba961eae690b498f5ba8e9e.zip external_webkit-3a7568b5aa8ee4ef6ba961eae690b498f5ba8e9e.tar.gz external_webkit-3a7568b5aa8ee4ef6ba961eae690b498f5ba8e9e.tar.bz2 |
Improve the fixed element position calculation
In the previous WAR, we get the screen size from UI thread at every draw call.
That is awkward.
Now with Java side fix, we can get the screen size from setSize call now.
However, forcing a full re-layout seems like an expensive operation.
What we need to make the webkit to know the update can be done by just
updating the fixed position elements only.
So I have done these:
1. Take away the WAR by forcing the update at the convertToLayerCoord.
2. Get rid of the UI thread stuff used to tell WebViewCore the screen size.
And get rid of the redundant variables, too.
3. update the fixed element at the setSize time.
BTW, I also rename the PlatformBridge functions name.
bug: 3397602
Change-Id: I0c422ecdb570de89aecb6e568d5067acf18ecfc6
Diffstat (limited to 'WebCore/fileapi')
0 files changed, 0 insertions, 0 deletions