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

Issue 2934523002: Revert of Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)

Created:
3 years, 6 months ago by Devlin
Modified:
3 years, 6 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), kalyank, qsr+mojo_chromium.org, rjkroege, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Implement aura::WindowPortMus::CreateCompositorFrameSink() (patchset #27 id:620001 of https://codereview.chromium.org/2875753002/ ) Reason for revert: Broke chromeos compile. https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.chromiumos%2FChromiumOS_x86-generic_Compile%2F36632%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout [1661/3845] CXX obj/ui/aura/aura/window_port_mus.o FAILED: obj/ui/aura/aura/window_port_mus.o /b/c/goma_client/gomacc i686-pc-linux-gnu-g++ -B/b/c/b/ChromiumOS_x86_generic_Compile/.cros_cache/chrome-sdk/tarballs/x86-generic+9588.0.0+target_toolchain/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/binutils-bin/2.25.51-gold -MMD -MF obj/ui/aura/aura/window_port_mus.o.d -DAURA_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_ASH=1 -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DOS_CHROMEOS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_EGL -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DMESA_EGL_NO_X11_HEADERS -I../.. -Igen -I../../third_party/libwebp -I../../third_party/khronos -I../../gpu -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/encode -I../../third_party/skia/include/images -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/third_party/vulkan -I../../third_party/skia/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/boringssl/src/include -I/b/c/b/ChromiumOS_x86_generic_Compile/.cros_cache/chrome-sdk/tarballs/x86-generic+9588.0.0+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/include/nss -I/b/c/b/ChromiumOS_x86_generic_Compile/.cros_cache/chrome-sdk/tarballs/x86-generic+9588.0.0+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/include/nspr -I../../third_party/mesa/src/include -fno-strict-aliasing -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -B../../third_party/binutils/Linux_x64/Release/bin -pthread -m32 -msse2 -mfpmath=sse -mmmx -Wall -Werror -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g2 -gsplit-dwarf --sysroot=../../../.cros_cache/chrome-sdk/tarballs/x86-generic+9588.0.0+sysroot_chromeos-base_chromeos-chrome.tar.xz -fvisibility=hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -march=i686 -pipe -march=i686 -pipe -pipe -march=i686 -mfpmath=sse -mmmx -msse -msse2 -msse3 -D__google_stl_debug_vector=1 -c ../../ui/aura/mus/window_port_mus.cc -o obj/ui/aura/aura/window_port_mus.o ../../ui/aura/mus/window_port_mus.cc: In member function 'virtual std::unique_ptr<cc::CompositorFrameSink> aura::WindowPortMus::CreateCompositorFrameSink()': ../../ui/aura/mus/window_port_mus.cc:542:10: error: cannot bind 'std::unique_ptr<viz::ClientCompositorFrameSink>' lvalue to 'std::unique_ptr<viz::ClientCompositorFrameSink>&&' return frame_sink; ^ In file included from /b/c/b/ChromiumOS_x86_generic_Compile/.cros_cache/chrome-sdk/tarballs/x86-generic+9588.0.0+target_toolchain/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.9.x/../../../../lib/gcc/i686-pc-linux-gnu/4.9.x/include/g++-v4/memory:81:0, from ../../base/sequence_checker_impl.h:8, from ../../base/sequence_checker.h:10, from ../../base/memory/ref_counted.h:19, from ../../base/memory/weak_ptr.h:79, from ../../components/viz/client/client_compositor_frame_sink.h:9, from ../../ui/aura/mus/window_port_mus.h:16, from ../../ui/aura/mus/window_port_mus.cc:5: /b/c/b/ChromiumOS_x86_generic_Compile/.cros_cache/chrome-sdk/tarballs/x86-generic+9588.0.0+target_toolchain/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.9.x/../../../../lib/gcc/i686-pc-linux-gnu/4.9.x/include/g++-v4/bits/unique_ptr.h:220:2: note: initializing argument 1 of 'std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = viz::ClientCompositorFrameSink; _Ep = std::default_delete<viz::ClientCompositorFrameSink>; <template-parameter-2-3> = void; _Tp = cc::CompositorFrameSink; _Dp = std::default_delete<cc::CompositorFrameSink>]' unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept ^ ../../ui/aura/mus/window_port_mus.cc:543:1: error: control reaches end of non-void function [-Werror=return-type] } Original issue's description: > Implement aura::WindowPortMus::CreateCompositorFrameSink() > > This CL implements aura::WindowPortMus::CreateCompositorFrameSink(). > Exo will use it in Mushrome and Mustash to create a frame sink > and use it to submit frames. > > > BUG=720600 > > Review-Url: https://codereview.chromium.org/2875753002 > Cr-Commit-Position: refs/heads/master@{#478287} > Committed: https://chromium.googlesource.com/chromium/src/+/810bd6f44ea3be0e7ff4522190cf2e4924769e17 TBR=reveman@chromium.org,fsamuel@chromium.org,fsamuel@google.com,kylechar@chromium.org,sadrul@chromium.org,sky@chromium.org,penghuang@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=720600 Review-Url: https://codereview.chromium.org/2934523002 Cr-Commit-Position: refs/heads/master@{#478304} Committed: https://chromium.googlesource.com/chromium/src/+/c390948c4980dd2a6afcc2cbc0775c38ff4c25f8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -142 lines) Patch
M components/exo/surface.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/viz/client/client_compositor_frame_sink.h View 3 chunks +0 lines, -5 lines 0 comments Download
M components/viz/client/client_compositor_frame_sink.cc View 3 chunks +2 lines, -11 lines 0 comments Download
M services/ui/ws/window_server.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 chunk +8 lines, -3 lines 0 comments Download
M services/ui/ws/window_tree_client_unittest.cc View 1 chunk +25 lines, -57 lines 0 comments Download
M ui/aura/local/window_port_local.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/aura/mus/window_mus.h View 2 chunks +1 line, -2 lines 0 comments Download
M ui/aura/mus/window_port_mus.h View 5 chunks +2 lines, -11 lines 0 comments Download
M ui/aura/mus/window_port_mus.cc View 6 chunks +24 lines, -44 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Devlin
Created Revert of Implement aura::WindowPortMus::CreateCompositorFrameSink()
3 years, 6 months ago (2017-06-09 16:40:01 UTC) #2
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/2934523002/1
3 years, 6 months ago (2017-06-09 16:40:21 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/c390948c4980dd2a6afcc2cbc0775c38ff4c25f8
3 years, 6 months ago (2017-06-09 16:41:00 UTC) #6
varkha
Looks like you may need extra std::move for gcc to return a smart pointer.
3 years, 6 months ago (2017-06-09 17:24:19 UTC) #8
chromium-reviews
3 years, 6 months ago (2017-06-09 17:31:12 UTC) #9
Message was sent while issue was closed.
I see. Landing a new one with std::move.

On Fri, 9 Jun 2017 at 13:24 <varkha@chromium.org> wrote:

> Looks like you may need extra std::move for gcc to return a smart pointer.
>
> https://codereview.chromium.org/2934523002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698