Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Issue 4569002: Fix ThumbnailGenerator on Windows. (Closed)

Created:
10 years, 1 month ago by kkania
Modified:
8 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews, vrk (LEFT CHROMIUM), fbarchard, Alpha Left Google, ben+cc_chromium.org, brettw-cc_chromium.org, jam, apatrick_chromium, darin-cc_chromium.org, awong, Paweł Hajdan Jr., pam+watch_chromium.org, stuartmorgan+watch_chromium.org, scherkus (not reviewing)
Visibility:
Public.

Description

Fix ThumbnailGenerator on Windows. In the browser, duplicate the file mapping handle before sending to the renderer and map the TransportDIB before accessing the memory. In the renderer, do not map the file twice, which was happening when TransportDIB::Map and GetPlatformCanvas were both being called. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65775

Patch Set 1 #

Patch Set 2 : Just fix thumbnail generator for now #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -54 lines) Patch
M app/surface/transport_dib.h View 1 2 chunks +13 lines, -1 line 0 comments Download
M app/surface/transport_dib_linux.cc View 1 1 chunk +30 lines, -10 lines 0 comments Download
M app/surface/transport_dib_mac.cc View 1 1 chunk +27 lines, -15 lines 0 comments Download
M app/surface/transport_dib_win.cc View 1 3 chunks +37 lines, -17 lines 2 comments Download
M app/win_util.h View 1 chunk +4 lines, -0 lines 0 comments Download
M app/win_util.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/thumbnail_generator.cc View 1 5 chunks +28 lines, -5 lines 0 comments Download
M chrome/renderer/render_widget.cc View 1 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
kkania
I have not yet finished investigating why the page cyclers were unhappy with my second ...
10 years, 1 month ago (2010-11-05 18:11:07 UTC) #1
kkania
ping; if you are too busy, I can find another reviewer
10 years, 1 month ago (2010-11-09 01:59:46 UTC) #2
brettw
Sorry I took so long, it takes a long time for me to page in ...
10 years, 1 month ago (2010-11-09 06:02:40 UTC) #3
kkania
8 years, 7 months ago (2012-05-10 19:54:12 UTC) #4
http://codereview.chromium.org/4569002/diff/16001/app/surface/transport_dib_w...
File app/surface/transport_dib_win.cc (right):

http://codereview.chromium.org/4569002/diff/16001/app/surface/transport_dib_w...
app/surface/transport_dib_win.cc:9: #include "app/surface/transport_dib.h"
On 2010/11/09 06:02:40, brettw wrote:
> Technically this include should be first. Can you move it up to the top while
> you're reordering includes?

Done.

Powered by Google App Engine
This is Rietveld 408576698