forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BrowserTag] Send dib info with NavigateGuest message,
This would fix guest painting in: set no src + resize + navigate to src case. Without this change, for the scenario above, we don't get any dib at all from embedder upon setting the non-empty src. Now we also ship dib on NavigateGuest if necessary. This dib is the last accumulated dib from updateGeometry(). Note that our unit test exercises this case, but doesn't look for correct painting, it only expects UpdateRect to be called with correct size. I've updated the test now to look for correct sized damage buffer instead. BUG=151948 TEST= Create an empty src guest and keep changing its size in SetInterval from the embedder, then in the middle set a non-empty src. Observed that guest paints correctly with final size. Updated unit test to look for damage buffer with correct size instead of looking for UpdateRect with correct size. Review URL: https://chromiumcodereview.appspot.com/10965048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159404 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
lazyboy@chromium.org
committed
Sep 29, 2012
1 parent
50cedc2
commit 92a01cc
Showing
16 changed files
with
321 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.