diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-05 17:34:35 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-05 17:34:35 +0000 |
commit | b4d084526b73c9fdff84101259c12b0e88478dc2 (patch) | |
tree | 4da6ee92862eb6b60fbbec109decee9af3165757 /app | |
parent | d63df7f8c5f2f875632fea866376b6762ae5e481 (diff) | |
download | chromium_src-b4d084526b73c9fdff84101259c12b0e88478dc2.zip chromium_src-b4d084526b73c9fdff84101259c12b0e88478dc2.tar.gz chromium_src-b4d084526b73c9fdff84101259c12b0e88478dc2.tar.bz2 |
Revert asynchronous backing store changes.
This reverts http://codereview.chromium.org/3506007
(r61225 -- the original change) and
http://codereview.chromium.org/3616005 (r61446 -- a fix for
a double-free in Pepper caused by the original change).
Doing asynchronous copying to the backing store in the
browser requires some large changes to Pepper that I'm not
going to have time to work on anytime soon. A cache of
in-flight TransportDIBs would need to be added (similar to
what the renderer already does), and we'd also need to do
copy-on-write when a plugin wants to draw on top of a
previous frame that's currently held by the browser. It
seems safer to revert the early part of the asynchronous
copying change instead of leaving it partially checked in.
BUG=none
TEST=ran it
Review URL: http://codereview.chromium.org/3583012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61525 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r-- | app/surface/transport_dib.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/surface/transport_dib.h b/app/surface/transport_dib.h index 2f439e6..6606c2b 100644 --- a/app/surface/transport_dib.h +++ b/app/surface/transport_dib.h @@ -63,10 +63,6 @@ class TransportDIB { return other.sequence_num < sequence_num; } - bool operator==(const HandleAndSequenceNum& other) const { - return !(*this < other) && !(other < *this); - } - HANDLE handle; uint32 sequence_num; }; |