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

Issue 2621653002: Remove stretch_content_to_fill_bounds from cc::SurfaceLayer::SetSurfaceInfo (Closed)

Created:
3 years, 11 months ago by Saman Sami
Modified:
3 years, 11 months ago
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, dshwang, nyquist+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, piman+watch_chromium.org, kinuko+watch, shaktisahu+watch-blimp_chromium.org, rwlbuis, krit, maniscalco+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, jam, gcasto+watch-blimp_chromium.org, Justin Novosad, jbauman+watch_chromium.org, marcinjb+watch-blimp_chromium.org, Rik, darin-cc_chromium.org, lethalantidote+watch-blimp_chromium.org, blink-reviews, kalyank, ajuma+watch_chromium.org, scf+watch-blimp_chromium.org, mlamouri+watch-content_chromium.org, jbroman, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, danakj+watch_chromium.org, khushalsagar+watch-blimp_chromium.org, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, Ian Vollick, steimel+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, f(malita), cc-bugs_chromium.org, dtrainor+watch-blimp_chromium.org, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove stretch_content_to_fill_bounds from cc::SurfaceLayer::SetSurfaceInfo Currently cc::SurfaceLayer::SetSurfaceInfo takes in stretch_content_to_fill_bounds which doesn't belong there because the purpose of this method is to set SurfaceInfo and only SurfaceInfo. A separate method called SetStretchContentToFillBounds is created instead. TBR=darin@chromium.org BUG=675313 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2621653002 Cr-Commit-Position: refs/heads/master@{#442414} Committed: https://chromium.googlesource.com/chromium/src/+/e8fd2e59b07fd42d8716675265d4b67419fcc726

Patch Set 1 #

Patch Set 2 : fix android #

Total comments: 3

Patch Set 3 : up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -21 lines) Patch
M blimp/client/core/compositor/blimp_compositor.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/layers/surface_layer.h View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M cc/layers/surface_layer.cc View 1 2 1 chunk +7 lines, -3 lines 0 comments Download
M cc/layers/surface_layer_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/child_frame_compositing_helper.cc View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M ui/android/delegated_frame_host_android.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/compositor/layer.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 36 (27 generated)
Fady Samuel
lgtm
3 years, 11 months ago (2017-01-09 16:21:05 UTC) #8
Saman Sami
danakj: Please review all files.
3 years, 11 months ago (2017-01-09 18:56:27 UTC) #13
xlai (Olivia)
lgtm
3 years, 11 months ago (2017-01-09 19:15:21 UTC) #20
danakj
https://codereview.chromium.org/2621653002/diff/20001/cc/layers/surface_layer.cc File cc/layers/surface_layer.cc (right): https://codereview.chromium.org/2621653002/diff/20001/cc/layers/surface_layer.cc#newcode79 cc/layers/surface_layer.cc:79: UpdateDrawsContent(HasDrawableContent()); HasDrawableContent does not depend on stretch_content_to_fill_bounds_ https://codereview.chromium.org/2621653002/diff/20001/cc/layers/surface_layer.h File ...
3 years, 11 months ago (2017-01-09 19:37:12 UTC) #21
Saman Sami
PTAL
3 years, 11 months ago (2017-01-09 20:21:19 UTC) #24
danakj
LGTM
3 years, 11 months ago (2017-01-09 20:23:33 UTC) #27
danakj
That's a great comment btw gj
3 years, 11 months ago (2017-01-09 20:23:45 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2621653002/40001
3 years, 11 months ago (2017-01-10 00:01:05 UTC) #33
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 00:23:48 UTC) #36
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e8fd2e59b07fd42d8716675265d4...

Powered by Google App Engine
This is Rietveld 408576698