1. 02 Aug, 2017 40 commits
    • Gauthier Ambard's avatar
      Revert "Add AX ID for Cancel and Done button on Translate Language Picker." · 6163e501
      Gauthier Ambard authored
      This reverts commit b9e3aebd.
      
      Reason for revert: I think this is breaking TranslateTestCase.testLanguageDetectionInfobar. I cannot reproduce the error locally.
      
      Original change's description:
      > Add AX ID for Cancel and Done button on Translate Language Picker.
      > 
      > Currently, the test uses the following matchers to find the cancel and
      > done button on language picker:
      > 
      > grey_allOf(chrome_test_util::ButtonWithAccessibilityLabel(@"Cancel"),
      >                     grey_userInteractionEnabled(), nil);
      > 
      > This is not bullet proof and may break any time, and this CL fixes the
      > issue by adding AX ID to both the cancel and done buttons.
      > 
      > Bug: 750344
      > Change-Id: I4fda45961b684b877adf29a5bf0fee6e03f1ba8d
      > Reviewed-on: https://chromium-review.googlesource.com/594831
      > Reviewed-by: Eugene But <eugenebut@chromium.org>
      > Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#490840}
      
      TBR=eugenebut@chromium.org,liaoyuke@chromium.org
      
      # Not skipping CQ checks because original CL landed > 1 day ago.
      
      Bug: 750344
      Change-Id: Ibb4f68af8e0c502000d063d6b19ff185fc1b1a42
      Reviewed-on: https://chromium-review.googlesource.com/597627Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
      Commit-Queue: Gauthier Ambard <gambard@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491327}
      6163e501
    • Daichi Hirono's avatar
      Set target for DropTargetEvent. · ad18a3e1
      Daichi Hirono authored
      Wayland server in Chrome assumes events have aura::Window as their target.
      However DropTargetEvent did not have target previously.
      
      BUG=750997, b:31988797
      TEST=NONE
      
      Change-Id: I2912fe1fb3b1c73ceb08989e8e9a00c0d4892fd2
      Reviewed-on: https://chromium-review.googlesource.com/593512
      Commit-Queue: Daichi Hirono <hirono@chromium.org>
      Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
      Reviewed-by: default avatarScott Violet <sky@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491326}
      ad18a3e1
    • Vovo Yang's avatar
      [tools/perf] Disable tab_switching.typical_25 on Mac · 6e193dc3
      Vovo Yang authored
      Bug: 747026
      Change-Id: If3154377583d9617516d6c2f4596d1da35272b97
      Reviewed-on: https://chromium-review.googlesource.com/595352Reviewed-by: default avatarNed Nguyen <nednguyen@google.com>
      Reviewed-by: default avatarJuan Antonio Navarro Pérez <perezju@chromium.org>
      Commit-Queue: Vovo Yang <vovoy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491325}
      6e193dc3
    • Adam Rice's avatar
      Streams: Add commented-out assert() impl · f2f6d8de
      Adam Rice authored
      It's a waste of time reimplementing assert() every time you need it. Instead,
      include a definition of assert() in CommonOperations.js. The implementation is
      commented-out so it will have no runtime overhead (comments are not included in
      the V8 snapshot).
      
      https://bugs.chromium.org/p/chromium/issues/detail?id=662542 aims to find
      the long-term solution to making asserts work. This is just a stop-gap to
      make them less painful in the short term.
      
      Bug: 
      Change-Id: Ib62851d19183b805f164a281c2f5c79a33d92c4b
      Reviewed-on: https://chromium-review.googlesource.com/594127Reviewed-by: default avatarTakeshi Yoshino <tyoshino@chromium.org>
      Commit-Queue: Adam Rice <ricea@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491324}
      f2f6d8de
    • Guido Urdaneta's avatar
      Revert "Revert "Initialize LayoutTableCell.is_spanning_collapsed_row_ to avoid MSAN error"" · 0d3a6f1c
      Guido Urdaneta authored
      This reverts commit 7a948ec8.
      
      Reason for revert: This fix was reverted because the CL it fixes was reverted. The original CL has been relanded and now the fix should work.
      
      
      Original change's description:
      > Revert "Initialize LayoutTableCell.is_spanning_collapsed_row_ to avoid MSAN error"
      > 
      > This reverts commit b25f768c.
      > 
      > Reason for revert: Caused compile error.
      > 
      > https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.webkit%2FWebKit_Mac_Builder__dbg_%2F209280%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout
      > 
      > ../../third_party/WebKit/Source/core/layout/LayoutTableCell.cpp:63:7: error: member initializer 'is_spanning_collapsed_row_' does not name a non-static data member or base class
      >       is_spanning_collapsed_row_(false),
      >       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      > 1 error generated.
      > 
      > Original change's description:
      > > Initialize LayoutTableCell.is_spanning_collapsed_row_ to avoid MSAN error
      > > 
      > > TBR: joysyu@google.com
      > > Bug: 751407
      > > Change-Id: I3bb805d6f6c2a555925ce3ccf514e1e4b2d8df0a
      > > Reviewed-on: https://chromium-review.googlesource.com/597031
      > > Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#491295}
      > 
      > TBR=horo@chromium.org,joysyu@google.com
      > 
      > Change-Id: Ice425494d4c1de47a48497636401616d9fe6cc89
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      > Bug: 751407
      > Reviewed-on: https://chromium-review.googlesource.com/597093
      > Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
      > Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#491318}
      
      TBR=horo@chromium.org,joysyu@google.com
      
      Change-Id: Ic130312825f08f443d5f3bf5fbddac556607d4aa
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 751407
      Reviewed-on: https://chromium-review.googlesource.com/597707Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
      Commit-Queue: Guido Urdaneta <guidou@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491323}
      0d3a6f1c
    • Guido Urdaneta's avatar
      Revert "Revert "Fix Heap-use-after-free Bug"" · b1af726a
      Guido Urdaneta authored
      This reverts commit 0814d71d.
      
      Reason for revert: A fix is ready, but requires this reland.
      
      Original change's description:
      > Revert "Fix Heap-use-after-free Bug"
      > 
      > This reverts commit d09047bc.
      > 
      > Reason for revert: 
      > This CL breaks Linux Trusty MSAN bot.
      > See
      > https://luci-milo.appspot.com/buildbot/chromium.webkit/WebKit%20Linux%20Trusty%20MSAN/2350
      > and successive builds.
      > 
      > Sample logs:
      > 17:44:44.594 32438   ==1:1==WARNING: MemorySanitizer: use-of-uninitialized-value
      > 17:44:44.594 32438       #0 0xf548000 in blink::LayoutTableCell::ShouldClipOverflow() const third_party/WebKit/Source/core/layout/LayoutTableCell.cpp:459:35
      > 17:44:44.594 32438       #1 0xfdd1161 in NeedsOverflowClip third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:803:48
      > 17:44:44.594 32438       #2 0xfdd1161 in UpdatePaintProperties third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:1208:0
      > 17:44:44.594 32438       #3 0xfdd1161 in blink::PaintPropertyTreeBuilder::UpdatePropertiesForSelf(blink::LayoutObject const&, blink::PaintPropertyTreeBuilderContext&) third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:1244:0
      > 17:44:44.594 32438       #4 0xfd6963c in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:190:28
      > 17:44:44.594 32438       #5 0xfd6a1bb in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:215:5
      > 17:44:44.594 32438       #6 0xfd6a1bb in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:215:5
      > 17:44:44.594 32438       #7 0xfd6a1bb in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:215:5
      > 17:44:44.594 32438       #8 0xfd6a1bb in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:215:5
      > 17:44:44.594 32438       #9 0xfd68046 in blink::PrePaintTreeWalk::Walk(blink::LocalFrameView&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:92:5
      > 17:44:44.594 32438       #10 0xfd674b4 in blink::PrePaintTreeWalk::Walk(blink::LocalFrameView&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:66:3
      > 17:44:44.594 32438       #11 0xe513327 in blink::LocalFrameView::PrePaint() third_party/WebKit/Source/core/frame/LocalFrameView.cpp:3255:24
      > 17:44:44.594 32438       #12 0xe50d013 in blink::LocalFrameView::UpdateLifecyclePhasesInternal(blink::DocumentLifecycle::LifecycleState) third_party/WebKit/Source/core/frame/LocalFrameView.cpp:3186:9
      > 17:44:44.594 32438       #13 0xfb2ff7c in blink::PageAnimator::UpdateAllLifecyclePhases(blink::LocalFrame&) third_party/WebKit/Source/core/page/PageAnimator.cpp:100:9
      > 17:44:44.594 32438       #14 0x1451947d in blink::WebViewImpl::UpdateAllLifecyclePhases() third_party/WebKit/Source/core/exported/WebViewImpl.cpp:1984:3
      > 17:44:44.594 32438       #15 0x6b9e8bb in content::BlinkTestRunner::TestFinished() content/shell/renderer/layout_test/blink_test_runner.cc:606:11
      > 17:44:44.594 32438       #16 0x11d957ed in test_runner::TestRunner::WorkQueue::ProcessWorkSoon() content/shell/test_runner/test_runner.cc:1572:29
      > 17:44:44.595 32438       #17 0x11d9db51 in LocationChangeDone content/shell/test_runner/test_runner.cc:2819:17
      > 17:44:44.595 32438       #18 0x11d9db51 in test_runner::TestRunner::tryToClearTopLoadingFrame(blink::WebFrame*) content/shell/test_runner/test_runner.cc:1951:0
      > 17:44:44.595 32438       #19 0xf9a560e in blink::ProgressTracker::ProgressCompleted() third_party/WebKit/Source/core/loader/ProgressTracker.cpp:122:26
      > 17:44:44.595 32438       #20 0xf94bfe5 in blink::FrameLoader::DidFinishNavigation() third_party/WebKit/Source/core/loader/FrameLoader.cpp:478:24
      > 17:44:44.595 32438       #21 0xdbf17f7 in blink::Document::CheckCompleted() third_party/WebKit/Source/core/dom/Document.cpp:3234:20
      > 17:44:44.595 32438       #22 0xf94b490 in blink::FrameLoader::FinishedParsing() third_party/WebKit/Source/core/loader/FrameLoader.cpp:448:26
      > 17:44:44.595 32438       #23 0xdc2c180 in blink::Document::FinishedParsing() third_party/WebKit/Source/core/dom/Document.cpp:5636:21
      > 17:44:44.595 32438       #24 0x10359be3 in blink::XMLDocumentParser::end() third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp:413:18
      > 17:44:44.595 32438       #25 0xf9134e4 in blink::DocumentWriter::end() third_party/WebKit/Source/core/loader/DocumentWriter.cpp:109:12
      > 17:44:44.595 32438       #26 0xf8f9e7f in EndWriting third_party/WebKit/Source/core/loader/DocumentLoader.cpp:896:12
      > 17:44:44.595 32438       #27 0xf8f9e7f in blink::DocumentLoader::FinishedLoading(double) third_party/WebKit/Source/core/loader/DocumentLoader.cpp:455:0
      > 17:44:44.595 32438       #28 0x45cfb05 in blink::Resource::CheckNotify() third_party/WebKit/Source/platform/loader/fetch/Resource.cpp:336:8
      > 17:44:44.595 32438       #29 0x46125d0 in blink::ResourceFetcher::HandleLoaderFinish(blink::Resource*, double, blink::ResourceFetcher::LoaderFinishType) third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:1333:15
      > 17:44:44.595 32438       #30 0x1375febb in content::WebURLLoaderImpl::Context::OnCompletedRequest(int, bool, bool, base::TimeTicks const&, long, long, long) content/child/web_url_loader_impl.cc:904:16
      > 17:44:44.595 32438       #31 0xc0c93f5 in content::ResourceDispatcher::OnRequestComplete(int, content::ResourceRequestCompletionStatus const&) content/child/resource_dispatcher.cc:374:9
      > 17:44:44.595 32438       #32 0xc0d0e07 in DispatchToMethodImpl<content::ResourceDispatcher *, void (content::ResourceDispatcher::*)(int, const content::ResourceRequestCompletionStatus &), const std::__1::tuple<int, content::ResourceRequestCompletionStatus> &, 0, 1> base/tuple.h:77:3
      > 17:44:44.595 32438       #33 0xc0d0e07 in DispatchToMethod<content::ResourceDispatcher *, void (content::ResourceDispatcher::*)(int, const content::ResourceRequestCompletionStatus &), const std::__1::tuple<int, content::ResourceRequestCompletionStatus> &> base/tuple.h:84:0
      > 17:44:44.595 32438       #34 0xc0d0e07 in DispatchToMethod<content::ResourceDispatcher, void (content::ResourceDispatcher::*)(int, const content::ResourceRequestCompletionStatus &), void, std::__1::tuple<int, content::ResourceRequestCompletionStatus> > ipc/ipc_message_templates.h:26:0
      > 17:44:44.595 32438       #35 0xc0d0e07 in bool IPC::MessageT<ResourceMsg_RequestComplete_Meta, std::__1::tuple<int, content::ResourceRequestCompletionStatus>, void>::Dispatch<content::ResourceDispatcher, content::ResourceDispatcher, void, void (content::ResourceDispatcher::*)(int, content::ResourceRequestCompletionStatus const&)>(IPC::Message const*, content::ResourceDispatcher*, content::ResourceDispatcher*, void*, void (content::ResourceDispatcher::*)(int, content::ResourceRequestCompletionStatus const&)) ipc/ipc_message_templates.h:121:0
      > 17:44:44.595 32438       #36 0xc0bfe8a in content::ResourceDispatcher::DispatchMessage(IPC::Message const&) content/child/resource_dispatcher.cc:535:5
      > 17:44:44.595 32438       #37 0xc0bd497 in content::ResourceDispatcher::OnMessageReceived(IPC::Message const&) content/child/resource_dispatcher.cc:136:3
      > 17:44:44.595 32438       #38 0xc0d86f9 in content::ResourceSchedulingFilter::DispatchMessage(IPC::Message const&) content/child/resource_scheduling_filter.cc:74:27
      > 17:44:44.595 32438       #39 0x6c8e490 in Run base/callback.h:91:12
      > 17:44:44.595 32438       #40 0x6c8e490 in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/debug/task_annotator.cc:59:0
      > 17:44:44.595 32438       #41 0x46c2540 in blink::scheduler::TaskQueueManager::ProcessTaskFromWorkQueue(blink::scheduler::internal::WorkQueue*, bool, blink::scheduler::LazyNow, base::TimeTicks*) third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:532:19
      > 17:44:44.595 32438       #42 0x46b600a in blink::scheduler::TaskQueueManager::DoWork(bool) third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:330:13
      > 17:44:44.595 32438       #43 0x6c8e490 in Run base/callback.h:91:12
      > 17:44:44.595 32438       #44 0x6c8e490 in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/debug/task_annotator.cc:59:0
      > 17:44:44.595 32438       #45 0x6d1f88e in base::MessageLoop::RunTask(base::PendingTask*) base/message_loop/message_loop.cc:404:19
      > 17:44:44.595 32438       #46 0x6d22ad9 in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) base/message_loop/message_loop.cc:415:5
      > 17:44:44.595 32438       #47 0x6d23ad6 in base::MessageLoop::DoWork() base/message_loop/message_loop.cc:522:13
      > 17:44:44.595 32438       #48 0x6d3023a in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:33:31
      > 17:44:44.595 32438       #49 0x6dbef5b in base::RunLoop::Run() base/run_loop.cc:112:14
      > 17:44:44.595 32438       #50 0x113da4bf in content::RendererMain(content::MainFunctionParams const&) content/renderer/renderer_main.cc:219:23
      > 17:44:44.595 32438       #51 0x4821509 in content::RunZygote(content::MainFunctionParams const&, content::ContentMainDelegate*) content/app/content_main_runner.cc:337:14
      > 17:44:44.595 32438       #52 0x48240fa in content::RunNamedProcessTypeMain(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&, content::ContentMainDelegate*) content/app/content_main_runner.cc:416:12
      > 17:44:44.595 32438       #53 0x4826d77 in content::ContentMainRunnerImpl::Run() content/app/content_main_runner.cc:687:12
      > 17:44:44.595 32438       #54 0xbfb00ba in service_manager::Main(service_manager::MainParams const&) services/service_manager/embedder/main.cc:469:29
      > 17:44:44.595 32438       #55 0x16265ee in content::ContentMain(content::ContentMainParams const&) content/app/content_main.cc:19:10
      > 17:44:44.595 32438       #56 0x4a904f in main content/shell/app/shell_main.cc:48:10
      > 17:44:44.595 32438       #57 0x7fa0d53baf44 in __libc_start_main /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287:0
      > 17:44:44.595 32438       #58 0x43cf9a in _start ??:0:0
      > 17:44:44.595 32438   
      > 17:44:44.595 32438     Uninitialized value was stored to memory at
      > 17:44:44.596 32438       #0 0xf5430fb in SetCellWidthChanged third_party/WebKit/Source/core/layout/LayoutTableCell.h:235:65
      > 17:44:44.596 32438       #1 0xf5430fb in blink::LayoutTableCell::UpdateLayout() third_party/WebKit/Source/core/layout/LayoutTableCell.cpp:327:0
      > 17:44:44.596 32438       #2 0xf59d164 in LayoutIfNeeded third_party/WebKit/Source/core/layout/LayoutObject.h:1110:7
      > 17:44:44.596 32438       #3 0xf59d164 in blink::LayoutTableSection::LayoutRows() third_party/WebKit/Source/core/layout/LayoutTableSection.cpp:1252:0
      > 17:44:44.596 32438       #4 0xf524b1c in blink::LayoutTable::UpdateLayout() third_party/WebKit/Source/core/layout/LayoutTable.cpp:717:16
      > 17:44:44.596 32438       #5 0xf185d49 in LayoutIfNeeded third_party/WebKit/Source/core/layout/LayoutObject.h:1110:7
      > 17:44:44.596 32438       #6 0xf185d49 in blink::LayoutBlock::LayoutPositionedObject(blink::LayoutBox*, bool, blink::LayoutBlock::PositionedLayoutBehavior) third_party/WebKit/Source/core/layout/LayoutBlock.cpp:828:0
      > 17:44:44.596 32438       #7 0xf184ef7 in blink::LayoutBlock::LayoutPositionedObjects(bool, blink::LayoutBlock::PositionedLayoutBehavior) third_party/WebKit/Source/core/layout/LayoutBlock.cpp:773:5
      > 17:44:44.596 32438       #8 0xf1b1e0e in blink::LayoutBlockFlow::UpdateBlockLayout(bool) third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:485:3
      > 17:44:44.596 32438       #9 0xf17eb46 in blink::LayoutBlock::UpdateLayout() third_party/WebKit/Source/core/layout/LayoutBlock.cpp:427:3
      > 17:44:44.596 32438       #10 0xf645987 in LayoutContent third_party/WebKit/Source/core/layout/LayoutView.cpp:224:20
      > 17:44:44.596 32438       #11 0xf645987 in blink::LayoutView::UpdateLayout() third_party/WebKit/Source/core/layout/LayoutView.cpp:316:0
      > 17:44:44.596 32438       #12 0xe4eadff in blink::LocalFrameView::PerformLayout(bool) third_party/WebKit/Source/core/frame/LocalFrameView.cpp:1082:22
      > 17:44:44.596 32438       #13 0xe4dee95 in blink::LocalFrameView::UpdateLayout() third_party/WebKit/Source/core/frame/LocalFrameView.cpp:1265:10
      > 17:44:44.596 32438       #14 0xdbf2315 in blink::Document::ImplicitClose() third_party/WebKit/Source/core/dom/Document.cpp:3155:15
      > 17:44:44.596 32438       #15 0xdbf1070 in blink::Document::CheckCompleted() third_party/WebKit/Source/core/dom/Document.cpp:3212:5
      > 17:44:44.596 32438       #16 0xf94b490 in blink::FrameLoader::FinishedParsing() third_party/WebKit/Source/core/loader/FrameLoader.cpp:448:26
      > 17:44:44.596 32438       #17 0xdc2c180 in blink::Document::FinishedParsing() third_party/WebKit/Source/core/dom/Document.cpp:5636:21
      > 17:44:44.596 32438       #18 0x10359be3 in blink::XMLDocumentParser::end() third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp:413:18
      > 17:44:44.596 32438       #19 0xf9134e4 in blink::DocumentWriter::end() third_party/WebKit/Source/core/loader/DocumentWriter.cpp:109:12
      > 17:44:44.596 32438       #20 0xf8f9e7f in EndWriting third_party/WebKit/Source/core/loader/DocumentLoader.cpp:896:12
      > 17:44:44.596 32438       #21 0xf8f9e7f in blink::DocumentLoader::FinishedLoading(double) third_party/WebKit/Source/core/loader/DocumentLoader.cpp:455:0
      > 17:44:44.596 32438       #22 0x45cfb05 in blink::Resource::CheckNotify() third_party/WebKit/Source/platform/loader/fetch/Resource.cpp:336:8
      > 17:44:44.596 32438       #23 0x46125d0 in blink::ResourceFetcher::HandleLoaderFinish(blink::Resource*, double, blink::ResourceFetcher::LoaderFinishType) third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:1333:15
      > 17:44:44.596 32438       #24 0x1375febb in content::WebURLLoaderImpl::Context::OnCompletedRequest(int, bool, bool, base::TimeTicks const&, long, long, long) content/child/web_url_loader_impl.cc:904:16
      > 17:44:44.596 32438   
      > 
      > 
      > Original change's description:
      > > Fix Heap-use-after-free Bug
      > > 
      > > Add a new member variable LayoutTableCell::is_spanning_collapsed_row_ so that
      > > there is no need to access LayoutTableSection::RowHasVisibilityCollapse
      > > in LayoutTableCell. This avoids using the memory that has already been
      > > freed.
      > > 
      > > Bug: 750016
      > > Change-Id: I1838a775f3b45315b2dee3e15942af0dff0c5955
      > > Reviewed-on: https://chromium-review.googlesource.com/594935
      > > Reviewed-by: Morten Stenshorne <mstensho@opera.com>
      > > Commit-Queue: Joy Yu <joysyu@google.com>
      > > Cr-Commit-Position: refs/heads/master@{#491139}
      > 
      > TBR=dgrogan@chromium.org,mstensho@opera.com,joysyu@google.com
      > 
      > Change-Id: Idaad8aba8647775eb2387688919c25b6ad4a8eda
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      > Bug: 750016
      > Reviewed-on: https://chromium-review.googlesource.com/597667
      > Reviewed-by: Guido Urdaneta <guidou@chromium.org>
      > Commit-Queue: Guido Urdaneta <guidou@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#491315}
      
      TBR=dgrogan@chromium.org,mstensho@opera.com,guidou@chromium.org,joysyu@google.com
      
      Change-Id: I4e1b4c59275699a5aa610d9ff338c062d8982268
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 750016
      Reviewed-on: https://chromium-review.googlesource.com/597687Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
      Commit-Queue: Guido Urdaneta <guidou@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491322}
      b1af726a
    • Guido Urdaneta's avatar
      Remove WebMediaPlayerMS from builds with WebRTC disabled. · 209f5623
      Guido Urdaneta authored
      When WebRTC is disabled, MediaStream and its supporting classes are not
      compiled. In these builds, WebMediaPlayerMS is never usec.
      
      Moreover, some spec-compliance improvements to WebMediaPlayerMS require
      access to MediaStream methods. This causes non-WebRTC builds to break.
      
      BUG=751054
      
      Change-Id: Ia10362e082d88ba6a56a206eaf8126a4ca39ef81
      Reviewed-on: https://chromium-review.googlesource.com/595727Reviewed-by: default avatarJochen Eisinger <jochen@chromium.org>
      Commit-Queue: Guido Urdaneta <guidou@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491321}
      209f5623
    • Takeshi Yoshino's avatar
      DEPS clean up in the public/ directory · 9ca9ed1b
      Takeshi Yoshino authored
      - Remove DEPS entries that are already inherited from the parent
      - Move the media/midi/ entry to public/platform/modules/webmidi/
      - Add a comment for the +platform entry to note that it's allowed only
        inside the INSIDE_BLINK preprocessor macro
      
      Bug: 
      Change-Id: Iad7811b4ee7ff0926c0f81a44975772266d9e80a
      Reviewed-on: https://chromium-review.googlesource.com/593515
      Commit-Queue: Takeshi Yoshino <tyoshino@chromium.org>
      Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
      Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491320}
      9ca9ed1b
    • Greg Thompson's avatar
      Force TMP to a directory on the same volume as "Program Files (x86)". · d67a4a2e
      Greg Thompson authored
      This is a workaround to https://crbug.com/700809.
      
      BUG=700809,745825
      
      Change-Id: Ifba9aef86b8218a97d4f5abe1b979fb0305562ab
      Reviewed-on: https://chromium-review.googlesource.com/589168Reviewed-by: default avatarDaniel Jacques <dnj@chromium.org>
      Reviewed-by: default avatarOwen Min <zmin@chromium.org>
      Commit-Queue: Greg Thompson <grt@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491319}
      d67a4a2e
    • Tsuyoshi Horo's avatar
      Revert "Initialize LayoutTableCell.is_spanning_collapsed_row_ to avoid MSAN error" · 7a948ec8
      Tsuyoshi Horo authored
      This reverts commit b25f768c.
      
      Reason for revert: Caused compile error.
      
      https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.webkit%2FWebKit_Mac_Builder__dbg_%2F209280%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout
      
      ../../third_party/WebKit/Source/core/layout/LayoutTableCell.cpp:63:7: error: member initializer 'is_spanning_collapsed_row_' does not name a non-static data member or base class
            is_spanning_collapsed_row_(false),
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      
      Original change's description:
      > Initialize LayoutTableCell.is_spanning_collapsed_row_ to avoid MSAN error
      > 
      > TBR: joysyu@google.com
      > Bug: 751407
      > Change-Id: I3bb805d6f6c2a555925ce3ccf514e1e4b2d8df0a
      > Reviewed-on: https://chromium-review.googlesource.com/597031
      > Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#491295}
      
      TBR=horo@chromium.org,joysyu@google.com
      
      Change-Id: Ice425494d4c1de47a48497636401616d9fe6cc89
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 751407
      Reviewed-on: https://chromium-review.googlesource.com/597093Reviewed-by: default avatarTsuyoshi Horo <horo@chromium.org>
      Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491318}
      7a948ec8
    • Vitalii Iarko's avatar
      [NTP::Tests::Cleanup] Use Status::Success(). · 5fb3916a
      Vitalii Iarko authored
      This CL uses Status::Success() instead of a Status constructor in
      RemoteSuggestionsProviderImpl tests. Basically, the occurences were
      automatically replaced and autoformated.
      
      Bug: 
      Change-Id: I98239e045cbdaaec0771da17a5d11ee49987c98a
      Reviewed-on: https://chromium-review.googlesource.com/597601Reviewed-by: default avatarChris Pickel <sfiera@chromium.org>
      Commit-Queue: vitaliii <vitaliii@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491317}
      5fb3916a
    • Jochen Eisinger's avatar
      Add more //gin OWNERS · 90b47e52
      Jochen Eisinger authored
      R: jbroman@chromium.org, rmcilroy@chromium.org
      Change-Id: I718479d15517b9b19b5171f163d107995d15bc61
      Reviewed-on: https://chromium-review.googlesource.com/596971Reviewed-by: default avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Jochen Eisinger <jochen@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491316}
      90b47e52
    • Guido Urdaneta's avatar
      Revert "Fix Heap-use-after-free Bug" · 0814d71d
      Guido Urdaneta authored
      This reverts commit d09047bc.
      
      Reason for revert: 
      This CL breaks Linux Trusty MSAN bot.
      See
      https://luci-milo.appspot.com/buildbot/chromium.webkit/WebKit%20Linux%20Trusty%20MSAN/2350
      and successive builds.
      
      Sample logs:
      17:44:44.594 32438   ==1:1==WARNING: MemorySanitizer: use-of-uninitialized-value
      17:44:44.594 32438       #0 0xf548000 in blink::LayoutTableCell::ShouldClipOverflow() const third_party/WebKit/Source/core/layout/LayoutTableCell.cpp:459:35
      17:44:44.594 32438       #1 0xfdd1161 in NeedsOverflowClip third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:803:48
      17:44:44.594 32438       #2 0xfdd1161 in UpdatePaintProperties third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:1208:0
      17:44:44.594 32438       #3 0xfdd1161 in blink::PaintPropertyTreeBuilder::UpdatePropertiesForSelf(blink::LayoutObject const&, blink::PaintPropertyTreeBuilderContext&) third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:1244:0
      17:44:44.594 32438       #4 0xfd6963c in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:190:28
      17:44:44.594 32438       #5 0xfd6a1bb in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:215:5
      17:44:44.594 32438       #6 0xfd6a1bb in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:215:5
      17:44:44.594 32438       #7 0xfd6a1bb in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:215:5
      17:44:44.594 32438       #8 0xfd6a1bb in blink::PrePaintTreeWalk::Walk(blink::LayoutObject const&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:215:5
      17:44:44.594 32438       #9 0xfd68046 in blink::PrePaintTreeWalk::Walk(blink::LocalFrameView&, blink::PrePaintTreeWalkContext const&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:92:5
      17:44:44.594 32438       #10 0xfd674b4 in blink::PrePaintTreeWalk::Walk(blink::LocalFrameView&) third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:66:3
      17:44:44.594 32438       #11 0xe513327 in blink::LocalFrameView::PrePaint() third_party/WebKit/Source/core/frame/LocalFrameView.cpp:3255:24
      17:44:44.594 32438       #12 0xe50d013 in blink::LocalFrameView::UpdateLifecyclePhasesInternal(blink::DocumentLifecycle::LifecycleState) third_party/WebKit/Source/core/frame/LocalFrameView.cpp:3186:9
      17:44:44.594 32438       #13 0xfb2ff7c in blink::PageAnimator::UpdateAllLifecyclePhases(blink::LocalFrame&) third_party/WebKit/Source/core/page/PageAnimator.cpp:100:9
      17:44:44.594 32438       #14 0x1451947d in blink::WebViewImpl::UpdateAllLifecyclePhases() third_party/WebKit/Source/core/exported/WebViewImpl.cpp:1984:3
      17:44:44.594 32438       #15 0x6b9e8bb in content::BlinkTestRunner::TestFinished() content/shell/renderer/layout_test/blink_test_runner.cc:606:11
      17:44:44.594 32438       #16 0x11d957ed in test_runner::TestRunner::WorkQueue::ProcessWorkSoon() content/shell/test_runner/test_runner.cc:1572:29
      17:44:44.595 32438       #17 0x11d9db51 in LocationChangeDone content/shell/test_runner/test_runner.cc:2819:17
      17:44:44.595 32438       #18 0x11d9db51 in test_runner::TestRunner::tryToClearTopLoadingFrame(blink::WebFrame*) content/shell/test_runner/test_runner.cc:1951:0
      17:44:44.595 32438       #19 0xf9a560e in blink::ProgressTracker::ProgressCompleted() third_party/WebKit/Source/core/loader/ProgressTracker.cpp:122:26
      17:44:44.595 32438       #20 0xf94bfe5 in blink::FrameLoader::DidFinishNavigation() third_party/WebKit/Source/core/loader/FrameLoader.cpp:478:24
      17:44:44.595 32438       #21 0xdbf17f7 in blink::Document::CheckCompleted() third_party/WebKit/Source/core/dom/Document.cpp:3234:20
      17:44:44.595 32438       #22 0xf94b490 in blink::FrameLoader::FinishedParsing() third_party/WebKit/Source/core/loader/FrameLoader.cpp:448:26
      17:44:44.595 32438       #23 0xdc2c180 in blink::Document::FinishedParsing() third_party/WebKit/Source/core/dom/Document.cpp:5636:21
      17:44:44.595 32438       #24 0x10359be3 in blink::XMLDocumentParser::end() third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp:413:18
      17:44:44.595 32438       #25 0xf9134e4 in blink::DocumentWriter::end() third_party/WebKit/Source/core/loader/DocumentWriter.cpp:109:12
      17:44:44.595 32438       #26 0xf8f9e7f in EndWriting third_party/WebKit/Source/core/loader/DocumentLoader.cpp:896:12
      17:44:44.595 32438       #27 0xf8f9e7f in blink::DocumentLoader::FinishedLoading(double) third_party/WebKit/Source/core/loader/DocumentLoader.cpp:455:0
      17:44:44.595 32438       #28 0x45cfb05 in blink::Resource::CheckNotify() third_party/WebKit/Source/platform/loader/fetch/Resource.cpp:336:8
      17:44:44.595 32438       #29 0x46125d0 in blink::ResourceFetcher::HandleLoaderFinish(blink::Resource*, double, blink::ResourceFetcher::LoaderFinishType) third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:1333:15
      17:44:44.595 32438       #30 0x1375febb in content::WebURLLoaderImpl::Context::OnCompletedRequest(int, bool, bool, base::TimeTicks const&, long, long, long) content/child/web_url_loader_impl.cc:904:16
      17:44:44.595 32438       #31 0xc0c93f5 in content::ResourceDispatcher::OnRequestComplete(int, content::ResourceRequestCompletionStatus const&) content/child/resource_dispatcher.cc:374:9
      17:44:44.595 32438       #32 0xc0d0e07 in DispatchToMethodImpl<content::ResourceDispatcher *, void (content::ResourceDispatcher::*)(int, const content::ResourceRequestCompletionStatus &), const std::__1::tuple<int, content::ResourceRequestCompletionStatus> &, 0, 1> base/tuple.h:77:3
      17:44:44.595 32438       #33 0xc0d0e07 in DispatchToMethod<content::ResourceDispatcher *, void (content::ResourceDispatcher::*)(int, const content::ResourceRequestCompletionStatus &), const std::__1::tuple<int, content::ResourceRequestCompletionStatus> &> base/tuple.h:84:0
      17:44:44.595 32438       #34 0xc0d0e07 in DispatchToMethod<content::ResourceDispatcher, void (content::ResourceDispatcher::*)(int, const content::ResourceRequestCompletionStatus &), void, std::__1::tuple<int, content::ResourceRequestCompletionStatus> > ipc/ipc_message_templates.h:26:0
      17:44:44.595 32438       #35 0xc0d0e07 in bool IPC::MessageT<ResourceMsg_RequestComplete_Meta, std::__1::tuple<int, content::ResourceRequestCompletionStatus>, void>::Dispatch<content::ResourceDispatcher, content::ResourceDispatcher, void, void (content::ResourceDispatcher::*)(int, content::ResourceRequestCompletionStatus const&)>(IPC::Message const*, content::ResourceDispatcher*, content::ResourceDispatcher*, void*, void (content::ResourceDispatcher::*)(int, content::ResourceRequestCompletionStatus const&)) ipc/ipc_message_templates.h:121:0
      17:44:44.595 32438       #36 0xc0bfe8a in content::ResourceDispatcher::DispatchMessage(IPC::Message const&) content/child/resource_dispatcher.cc:535:5
      17:44:44.595 32438       #37 0xc0bd497 in content::ResourceDispatcher::OnMessageReceived(IPC::Message const&) content/child/resource_dispatcher.cc:136:3
      17:44:44.595 32438       #38 0xc0d86f9 in content::ResourceSchedulingFilter::DispatchMessage(IPC::Message const&) content/child/resource_scheduling_filter.cc:74:27
      17:44:44.595 32438       #39 0x6c8e490 in Run base/callback.h:91:12
      17:44:44.595 32438       #40 0x6c8e490 in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/debug/task_annotator.cc:59:0
      17:44:44.595 32438       #41 0x46c2540 in blink::scheduler::TaskQueueManager::ProcessTaskFromWorkQueue(blink::scheduler::internal::WorkQueue*, bool, blink::scheduler::LazyNow, base::TimeTicks*) third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:532:19
      17:44:44.595 32438       #42 0x46b600a in blink::scheduler::TaskQueueManager::DoWork(bool) third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:330:13
      17:44:44.595 32438       #43 0x6c8e490 in Run base/callback.h:91:12
      17:44:44.595 32438       #44 0x6c8e490 in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/debug/task_annotator.cc:59:0
      17:44:44.595 32438       #45 0x6d1f88e in base::MessageLoop::RunTask(base::PendingTask*) base/message_loop/message_loop.cc:404:19
      17:44:44.595 32438       #46 0x6d22ad9 in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) base/message_loop/message_loop.cc:415:5
      17:44:44.595 32438       #47 0x6d23ad6 in base::MessageLoop::DoWork() base/message_loop/message_loop.cc:522:13
      17:44:44.595 32438       #48 0x6d3023a in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:33:31
      17:44:44.595 32438       #49 0x6dbef5b in base::RunLoop::Run() base/run_loop.cc:112:14
      17:44:44.595 32438       #50 0x113da4bf in content::RendererMain(content::MainFunctionParams const&) content/renderer/renderer_main.cc:219:23
      17:44:44.595 32438       #51 0x4821509 in content::RunZygote(content::MainFunctionParams const&, content::ContentMainDelegate*) content/app/content_main_runner.cc:337:14
      17:44:44.595 32438       #52 0x48240fa in content::RunNamedProcessTypeMain(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&, content::ContentMainDelegate*) content/app/content_main_runner.cc:416:12
      17:44:44.595 32438       #53 0x4826d77 in content::ContentMainRunnerImpl::Run() content/app/content_main_runner.cc:687:12
      17:44:44.595 32438       #54 0xbfb00ba in service_manager::Main(service_manager::MainParams const&) services/service_manager/embedder/main.cc:469:29
      17:44:44.595 32438       #55 0x16265ee in content::ContentMain(content::ContentMainParams const&) content/app/content_main.cc:19:10
      17:44:44.595 32438       #56 0x4a904f in main content/shell/app/shell_main.cc:48:10
      17:44:44.595 32438       #57 0x7fa0d53baf44 in __libc_start_main /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287:0
      17:44:44.595 32438       #58 0x43cf9a in _start ??:0:0
      17:44:44.595 32438   
      17:44:44.595 32438     Uninitialized value was stored to memory at
      17:44:44.596 32438       #0 0xf5430fb in SetCellWidthChanged third_party/WebKit/Source/core/layout/LayoutTableCell.h:235:65
      17:44:44.596 32438       #1 0xf5430fb in blink::LayoutTableCell::UpdateLayout() third_party/WebKit/Source/core/layout/LayoutTableCell.cpp:327:0
      17:44:44.596 32438       #2 0xf59d164 in LayoutIfNeeded third_party/WebKit/Source/core/layout/LayoutObject.h:1110:7
      17:44:44.596 32438       #3 0xf59d164 in blink::LayoutTableSection::LayoutRows() third_party/WebKit/Source/core/layout/LayoutTableSection.cpp:1252:0
      17:44:44.596 32438       #4 0xf524b1c in blink::LayoutTable::UpdateLayout() third_party/WebKit/Source/core/layout/LayoutTable.cpp:717:16
      17:44:44.596 32438       #5 0xf185d49 in LayoutIfNeeded third_party/WebKit/Source/core/layout/LayoutObject.h:1110:7
      17:44:44.596 32438       #6 0xf185d49 in blink::LayoutBlock::LayoutPositionedObject(blink::LayoutBox*, bool, blink::LayoutBlock::PositionedLayoutBehavior) third_party/WebKit/Source/core/layout/LayoutBlock.cpp:828:0
      17:44:44.596 32438       #7 0xf184ef7 in blink::LayoutBlock::LayoutPositionedObjects(bool, blink::LayoutBlock::PositionedLayoutBehavior) third_party/WebKit/Source/core/layout/LayoutBlock.cpp:773:5
      17:44:44.596 32438       #8 0xf1b1e0e in blink::LayoutBlockFlow::UpdateBlockLayout(bool) third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:485:3
      17:44:44.596 32438       #9 0xf17eb46 in blink::LayoutBlock::UpdateLayout() third_party/WebKit/Source/core/layout/LayoutBlock.cpp:427:3
      17:44:44.596 32438       #10 0xf645987 in LayoutContent third_party/WebKit/Source/core/layout/LayoutView.cpp:224:20
      17:44:44.596 32438       #11 0xf645987 in blink::LayoutView::UpdateLayout() third_party/WebKit/Source/core/layout/LayoutView.cpp:316:0
      17:44:44.596 32438       #12 0xe4eadff in blink::LocalFrameView::PerformLayout(bool) third_party/WebKit/Source/core/frame/LocalFrameView.cpp:1082:22
      17:44:44.596 32438       #13 0xe4dee95 in blink::LocalFrameView::UpdateLayout() third_party/WebKit/Source/core/frame/LocalFrameView.cpp:1265:10
      17:44:44.596 32438       #14 0xdbf2315 in blink::Document::ImplicitClose() third_party/WebKit/Source/core/dom/Document.cpp:3155:15
      17:44:44.596 32438       #15 0xdbf1070 in blink::Document::CheckCompleted() third_party/WebKit/Source/core/dom/Document.cpp:3212:5
      17:44:44.596 32438       #16 0xf94b490 in blink::FrameLoader::FinishedParsing() third_party/WebKit/Source/core/loader/FrameLoader.cpp:448:26
      17:44:44.596 32438       #17 0xdc2c180 in blink::Document::FinishedParsing() third_party/WebKit/Source/core/dom/Document.cpp:5636:21
      17:44:44.596 32438       #18 0x10359be3 in blink::XMLDocumentParser::end() third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp:413:18
      17:44:44.596 32438       #19 0xf9134e4 in blink::DocumentWriter::end() third_party/WebKit/Source/core/loader/DocumentWriter.cpp:109:12
      17:44:44.596 32438       #20 0xf8f9e7f in EndWriting third_party/WebKit/Source/core/loader/DocumentLoader.cpp:896:12
      17:44:44.596 32438       #21 0xf8f9e7f in blink::DocumentLoader::FinishedLoading(double) third_party/WebKit/Source/core/loader/DocumentLoader.cpp:455:0
      17:44:44.596 32438       #22 0x45cfb05 in blink::Resource::CheckNotify() third_party/WebKit/Source/platform/loader/fetch/Resource.cpp:336:8
      17:44:44.596 32438       #23 0x46125d0 in blink::ResourceFetcher::HandleLoaderFinish(blink::Resource*, double, blink::ResourceFetcher::LoaderFinishType) third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:1333:15
      17:44:44.596 32438       #24 0x1375febb in content::WebURLLoaderImpl::Context::OnCompletedRequest(int, bool, bool, base::TimeTicks const&, long, long, long) content/child/web_url_loader_impl.cc:904:16
      17:44:44.596 32438   
      
      
      Original change's description:
      > Fix Heap-use-after-free Bug
      > 
      > Add a new member variable LayoutTableCell::is_spanning_collapsed_row_ so that
      > there is no need to access LayoutTableSection::RowHasVisibilityCollapse
      > in LayoutTableCell. This avoids using the memory that has already been
      > freed.
      > 
      > Bug: 750016
      > Change-Id: I1838a775f3b45315b2dee3e15942af0dff0c5955
      > Reviewed-on: https://chromium-review.googlesource.com/594935
      > Reviewed-by: Morten Stenshorne <mstensho@opera.com>
      > Commit-Queue: Joy Yu <joysyu@google.com>
      > Cr-Commit-Position: refs/heads/master@{#491139}
      
      TBR=dgrogan@chromium.org,mstensho@opera.com,joysyu@google.com
      
      Change-Id: Idaad8aba8647775eb2387688919c25b6ad4a8eda
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 750016
      Reviewed-on: https://chromium-review.googlesource.com/597667Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
      Commit-Queue: Guido Urdaneta <guidou@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491315}
      0814d71d
    • Olivier Robin's avatar
      Reenable ReadingListTestCase on iOS 11 · 7665899e
      Olivier Robin authored
      EG cannot interact with Share menu on iOS11.
      Add a workaround that is as close as possible from the normal behavior.
      
      Bug: 747443
      Change-Id: I08d5e9cb5462bea13f216b551e9b3e1f860b1a9e
      Reviewed-on: https://chromium-review.googlesource.com/597602Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
      Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491314}
      7665899e
    • Nicholas Verne's avatar
      Rehome STATIC_ASSERT_ENUMS · 539dd052
      Nicholas Verne authored
      This CL continues to remove asserts from AssertMatchingEnums.cpp and
      place them in files nearer their internal definitions.
      
      Bug: 712963
      Change-Id: I8cda3922744b053ecbbcb5b6c94a685f419defa4
      Reviewed-on: https://chromium-review.googlesource.com/597382
      Commit-Queue: Nicholas Verne <nverne@chromium.org>
      Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491313}
      539dd052
    • Kent Tamura's avatar
      Update class comments for blink::InternalPopupMenu and blink::ExternalPopupMenu. · 6a440a1e
      Kent Tamura authored
      This CL has no behavior changes.
      
      NOTRY=true
      
      Change-Id: Ic62d65a5574e79120e3a2ac69cd5f0871978c613
      Reviewed-on: https://chromium-review.googlesource.com/597034Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
      Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491312}
      6a440a1e
    • Naoki Fukino's avatar
      Files app: Add "Open with..." sub menu in the context menu. · c47494fa
      Naoki Fukino authored
      In the context menu, we have "More actions..." menu item to open a task
      picker dialog for all actions.
      We are going to have separated following two menu items to organize them.
      "Open with..."    <= Open a task picker for OPEN actions.
      "More actions..." <= Open a task picker for any other actions.
      
      Bug: 740821
      Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
      Change-Id: I4e75c27ac32c2a6da23adfc787db9078662fa19f
      Reviewed-on: https://chromium-review.googlesource.com/594759
      Commit-Queue: Naoki Fukino <fukino@chromium.org>
      Reviewed-by: default avatarTatsuhisa Yamaguchi <yamaguchi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491311}
      c47494fa
    • Adam Klein's avatar
      Update tests whose result depends on __defineGetter__ throwing behavior · 534bb7ba
      Adam Klein authored
      V8's current behavior is to not throw when __defineGetter__ fails, but
      it is being changed to throw. The tests now pass whether or not
      __defineGetter__ throws.
      
      Bug: v8:5070
      Change-Id: I219a4d2665edc886c040578ba1108c36cafa3bc6
      Reviewed-on: https://chromium-review.googlesource.com/595240
      Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
      Reviewed-by: default avatarYuki Shiino <yukishiino@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491310}
      534bb7ba
    • Olivier Robin's avatar
      Fix OpenURL handling on iOS 11. · 3666256d
      Olivier Robin authored
      On iOS11, |UIApplicationDelegate application:openURL:options:| is always
      called on active app.
      It means that if launching Chrome from inactive state by opening a
      chrome:// URL, applicationDidBecomeActive will be called before openURL.
      It was the opposite before iOS10.
      
      Fix the handling of openURL to open correctly the tab.
      
      Note: A lot of the code handling openURL on inactive state can be
      removed once iOS10 is deprecated.
      
      Bug: 749037
      Change-Id: I29e8e1fb17ea02a0d28dee43382a35d9d1b01377
      Reviewed-on: https://chromium-review.googlesource.com/586593Reviewed-by: default avatarElodie Banel <lod@chromium.org>
      Reviewed-by: default avatarMark Cogan <marq@chromium.org>
      Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
      Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491309}
      3666256d
    • Andrew MacPherson's avatar
      Fix for AudioContext 'playback' latency on Android · a6eff37d
      Andrew MacPherson authored
      Creating an AudioContext with a latencyHint of 'playback' on some
      Android devices could cause glitching as the context was created
      with an audio buffer size less than the hardware buffer size.
      
      BUG=745960
      
      Change-Id: I1db4efe934f427c878ad30bfb3507c535383b82d
      Reviewed-on: https://chromium-review.googlesource.com/579068Reviewed-by: default avatarPavel Feldman <pfeldman@chromium.org>
      Reviewed-by: default avatarRaymond Toy <rtoy@chromium.org>
      Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
      Commit-Queue: Andrew MacPherson <andrew.macpherson@soundtrap.com>
      Cr-Commit-Position: refs/heads/master@{#491308}
      a6eff37d
    • Thomas Guilbert's avatar
      Set overlay mode opacity hint properly · 0267a42c
      Thomas Guilbert authored
      The compositor does not use an alpha channel on its surface when it does
      not need to, for power efficiency reasons. AndroidOverlays require the
      compositor's surface to not be opaque, in order to draw a transparent
      quad, through which the AO surface (and video) can be seen. We are
      calling this transparency mode 'overlay mode'.
      
      This CL adds the necessary plumbing to let WebContents embedders know
      when to enter overlay mode. It also adds overlay mode support to
      content shell and Chrome.
      
      Bug: 710186
      Change-Id: Ib873b553e7cda8edafc535ed730c18d3e8d44b2a
      Reviewed-on: https://chromium-review.googlesource.com/567773
      Commit-Queue: Thomas Guilbert <tguilbert@chromium.org>
      Reviewed-by: default avatarCharlie Reis <creis@chromium.org>
      Reviewed-by: default avatarFrank Liberato <liberato@chromium.org>
      Reviewed-by: default avatarBo Liu <boliu@chromium.org>
      Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491307}
      0267a42c
    • Adam Rice's avatar
      Disable WebSocket SafeBrowsing checks · 74b2febb
      Adam Rice authored
      As a temporary workaround for http://crbug.com/750278, disable WebSocket
      SafeBrowsing checks. They will be reenabled once the bug is fixed.
      
      Relevant browser tests are also disabled.
      
      BUG=750278, 644744
      
      Change-Id: I8b1e731be567ac49e60b4a02c927c6bc57d9a736
      Reviewed-on: https://chromium-review.googlesource.com/594750Reviewed-by: default avatarJochen Eisinger <jochen@chromium.org>
      Reviewed-by: default avatarVarun Khaneja <vakh@chromium.org>
      Commit-Queue: Adam Rice <ricea@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491306}
      74b2febb
    • Khushal's avatar
      cc: Eliminate save layer for draw color ops. · d12ee975
      Khushal authored
      For SaveLayer/DrawColor/Restore, just fold the alpha into the draw
      color op instead of a save layer.
      
      R=enne@chromium.org
      
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      Change-Id: Ibc9f23009c5fcb7ee873ce02718cd7782de7a480
      Reviewed-on: https://chromium-review.googlesource.com/595135
      Commit-Queue: Khushal <khushalsagar@chromium.org>
      Reviewed-by: default avatarenne <enne@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491305}
      d12ee975
    • Takeshi Yoshino's avatar
      More reduction of the dependency to ResourceRequest in FetchContext and MixedContentChecker · 19567957
      Takeshi Yoshino authored
      - Remove one of the ShouldBlockFetch() method from MixedContentChecker.
        We can just pass the parameters directly to the other one extracted
        from ResourceRequest at the caller.
      
      Bonus: Mark BaseFetchContext::CanRequestInternal() as private.
      
      Bug: 736308
      Change-Id: I6fe66e5df86cc97698d95ce37002a6ec7601dd02
      Reviewed-on: https://chromium-review.googlesource.com/594128
      Commit-Queue: Takeshi Yoshino <tyoshino@chromium.org>
      Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491304}
      19567957
    • rijubrata.bhaumik's avatar
      [sensors][permission] Add new permission types in permission module. · 7b072ad1
      rijubrata.bhaumik authored
      This is the first part of adding permission guard for sensors based on Generic Sensor Framework.
      There was consensus to add granular permissions for sensors here
      https://github.com/w3c/sensors/issues/22
      
      This CL adds permission name for the different sensors in the permission module.
      
      Spec discussion : https://github.com/w3c/permissions/pull/142
      
      BUG=606766
      
      Review-Url: https://codereview.chromium.org/2791623004
      Cr-Commit-Position: refs/heads/master@{#491303}
      7b072ad1
    • v8-autoroll's avatar
      Update V8 to version 6.2.118. · 1216ceaf
      v8-autoroll authored
      Summary of changes available at:
      https://chromium.googlesource.com/v8/v8/+log/79e7abbd..fca6d756
      
      Please follow these instructions for assigning/CC'ing issues:
      https://github.com/v8/v8/wiki/Triaging%20issues
      
      Please close rolling in case of a roll revert:
      https://v8-roll.appspot.com/
      This only works with a Google account.
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      
      TBR=hablich@chromium.org,machenbach@chromium.org,kozyatinskiy@chromium.org
      
      Change-Id: If1594a55ffebe4ba0527198a7a7a000098fe2965
      Reviewed-on: https://chromium-review.googlesource.com/597215Reviewed-by: default avatarv8 autoroll <v8-autoroll@chromium.org>
      Commit-Queue: v8 autoroll <v8-autoroll@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491302}
      1216ceaf
    • Marc Treib's avatar
      OneGoogleBar on local NTP: Simplify injection into the page · 5fe4e133
      Marc Treib authored
      Before this CL, the OGB was served through multiple "files" under
      chrome-search://local-ntp/one-google/. After this CL, all the data is
      sent in a single JS dictionary. This simplifies the injection (no more
      waiting for all the individual files to load), and it ensures that all
      the data actually comes from the same API response.
      
      Bug: 583292
      Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
      Change-Id: I50a2a6f61a1ac59fef4f908ff6e009f485e61096
      Reviewed-on: https://chromium-review.googlesource.com/596051Reviewed-by: default avatarChris Pickel <sfiera@chromium.org>
      Commit-Queue: Marc Treib <treib@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491301}
      5fe4e133
    • Kenneth Russell's avatar
      Fix BlitFramebuffer RGB emulation on macOS. · a758ce4a
      Kenneth Russell authored
      The fix for Issue 699566 regressed blits between user framebuffers on
      macOS when alpha:false and antialias:false. Only apply the workaround
      when blitting to the default WebGL back buffer.
      
      Tested by new conformance test
      conformance2/rendering/blitframebuffer-r11f-g11f-b10f.html from
      https://github.com/KhronosGroup/WebGL/pull/2469 .
      
      BUG=751206
      TBR=zmo@chromium.org
      NOTRY=true
      
      Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
      Change-Id: I6025bcd562675318d6cd9d3fcc50aa90fa83642b
      Reviewed-on: https://chromium-review.googlesource.com/596679Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
      Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491300}
      a758ce4a
    • Mohsen Izadi's avatar
      Move reload icon to vector_icons component · 31c2a76a
      Mohsen Izadi authored
      To implement pull-to-refresh on Aura, reload icon should be accessible
      from content/browser/ directory. This CL moves it out of chrome/app/
      into components/vector_icons/.
      
      BUG=702404
      TEST=none
      
      Change-Id: I4265eca2244dba561b696881939eea7a75475ab7
      Reviewed-on: https://chromium-review.googlesource.com/594676
      Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
      Reviewed-by: default avatarEvan Stade <estade@chromium.org>
      Reviewed-by: default avatarScott Violet <sky@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491299}
      31c2a76a
    • Vitalii Iarko's avatar
      [NTP] Move remote suggestion builder into separate file. · 0c764640
      Vitalii Iarko authored
      This CL moves RemoteSuggestionBuilder/FetchedCategoryBuilder from
      remote/test_utils.h into a separate test-only file.
      
      Bug: 
      Change-Id: I1401ba7d02cd7108f5e6c35860a3c597872fd7e6
      Reviewed-on: https://chromium-review.googlesource.com/595548
      Commit-Queue: vitaliii <vitaliii@chromium.org>
      Reviewed-by: default avatarChris Pickel <sfiera@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491298}
      0c764640
    • Yuki Shiino's avatar
      v8binding: Refactors MutationObserver and MutationCallback. · e4d81dae
      Yuki Shiino authored
      Major changes in this CL are:
      - Drops [CustomConstructor] from MutationObserver.idl.
      - Replaces hand-written V8MutationCallback with code-generated
        MutationCallback. Note that the new (code-generated)
        MutationCallback is different from the old (hand-written)
        MutationCallback.
      - Rewrote the old (hand-written) MutationCallback as
        MutationObserver::Delegate.  Note that the name
        "MutationCallback" is taken by the new (code-generated)
        MutationCallback.
      
      This CL mostly follows the same way as https://crrev.com/c/581128 .
      
      Bug: 
      Change-Id: I3f8b36044499c50baade331e2bfafbbed4271e0d
      Reviewed-on: https://chromium-review.googlesource.com/590832Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Reviewed-by: default avatarKenichi Ishibashi <bashi@chromium.org>
      Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491297}
      e4d81dae
    • tanvir.rizvi's avatar
      Avoid redundant equality check in SelectionEditor::SetSelection · 379dacd4
      tanvir.rizvi authored
      SelectionEditor::SetSelection is only called from FrameSelection
      SetSelection, which does the equality of the old DOM selection with
      the existing selection. So we can avoid doing the check in Selection
      Editor::SetSelection
      
      BUG=N/A
      
      Change-Id: Ida77fee4e4bd26aa5729d367a181b7437c7eaaf9
      Reviewed-on: https://chromium-review.googlesource.com/595787
      Commit-Queue: Tanvir Rizvi <tanvir.rizvi@samsung.com>
      Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
      Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491296}
      379dacd4
    • Tsuyoshi Horo's avatar
      Initialize LayoutTableCell.is_spanning_collapsed_row_ to avoid MSAN error · b25f768c
      Tsuyoshi Horo authored
      TBR: joysyu@google.com
      Bug: 751407
      Change-Id: I3bb805d6f6c2a555925ce3ccf514e1e4b2d8df0a
      Reviewed-on: https://chromium-review.googlesource.com/597031Reviewed-by: default avatarTsuyoshi Horo <horo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491295}
      b25f768c
    • Robert Hogan's avatar
      Position fixed backgrounds in table sections correctly · b4ee3ace
      Robert Hogan authored
      Bug: 35697
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
      Change-Id: I1d50b8027f30ea775af91db62ad9de3f8f697c62
      Reviewed-on: https://chromium-review.googlesource.com/594987
      Commit-Queue: Emil A Eklund <eae@chromium.org>
      Reviewed-by: default avatarEmil A Eklund <eae@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491294}
      b4ee3ace
    • gaschler's avatar
      [NTP] SnippetsBridge fetchContextualSuggestions · d6866efd
      gaschler authored
      fetchContextualSuggestions in SnippetsBridge fetches contextual
      suggestions.
      SnippetsBridge provides a new method fetchContextualSuggestionImage
      to retrieve an image for a given contextual suggestion.
      With this, the contextual feature is operational behind the
      flag "contextual-suggestions-carousel".
      
      Bug: 749988
      Change-Id: Iee862d3d103ecc2c3e513e425ac9e0e9bd508093
      Reviewed-on: https://chromium-review.googlesource.com/589148
      Commit-Queue: Andre Gaschler <gaschler@chromium.org>
      Reviewed-by: default avatarNicolas Dossou-Gbété <dgn@chromium.org>
      Reviewed-by: default avatarJan Krcal <jkrcal@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491293}
      d6866efd
    • Tsuyoshi Horo's avatar
      Revert "Implement tail processing for AudioNodes" · c9b867ae
      Tsuyoshi Horo authored
      This reverts commit f643128b.
      
      Reason for revert: leaks in LayoutTests
      
      BUG: 751413
      
      Original change's description:
      > Implement tail processing for AudioNodes
      > 
      > Keep nodes alive when there are no input connections so that the node
      > has time to flush out any internal memory. When the output of the node
      > is going to be disabled (because there are no inputs), place the node
      > on a list, without disabling the output.
      > 
      > The list is processed every rendering quantum to see if the tail time
      > of node has passed.  If the tail time has not passed, nothing is done;
      > otherwise, the output is disabled, and the node is removed from the
      > list.  This allows the node to be collected, if possible.
      > 
      > Bug:357843 
      > Test:AudioNode/tail-processing.html,DynamicsCompressor/dynamicscompressor-clear-internal-state.html,
      > internals/cycle-connection-gc.html
      > 
      > Change-Id: Iab28ec749ee532cbb2ee9631501a6dac0ceb0afb
      > Reviewed-on: https://chromium-review.googlesource.com/583587
      > Reviewed-by: Hongchan Choi <hongchan@chromium.org>
      > Commit-Queue: Hongchan Choi <hongchan@chromium.org>
      > Commit-Queue: Raymond Toy <rtoy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#491135}
      
      TBR=rtoy@chromium.org,hongchan@chromium.org
      
      Change-Id: I3201106063305b9ec6892508823ab1f665a56fba
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 357843
      Reviewed-on: https://chromium-review.googlesource.com/597609Reviewed-by: default avatarTsuyoshi Horo <horo@chromium.org>
      Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491292}
      c9b867ae
    • Takeshi Yoshino's avatar
      Rename public/README to README.md so that it can be rendered by Gitiles · 46aa62e5
      Takeshi Yoshino authored
      Bug: 
      Change-Id: Iff8f32b46b01b095ae50592fb2308bce4058e572
      Reviewed-on: https://chromium-review.googlesource.com/597385Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Commit-Queue: Takeshi Yoshino <tyoshino@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491291}
      46aa62e5
    • skia-deps-roller@chromium.org's avatar
      Roll src/third_party/skia/ 19391ac4d..21171e50f (1 commit) · 94802c37
      skia-deps-roller@chromium.org authored
      https://skia.googlesource.com/skia.git/+log/19391ac4d393..21171e50f486
      
      $ git log 19391ac4d..21171e50f --date=short --no-merges --format='%ad %ae %s'
      2017-08-01 csmartdalton CCPR: Transform path points before handling curves
      
      Created with:
        roll-dep src/third_party/skia
      
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, see:
      http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls
      
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      TBR=liyuqian@chromium.org
      
      Change-Id: I3e2e32dd698c500ba8a009785af887f00a6a80bb
      Reviewed-on: https://chromium-review.googlesource.com/597499Reviewed-by: default avatarSkia Deps Roller <skia-deps-roller@chromium.org>
      Commit-Queue: Skia Deps Roller <skia-deps-roller@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491290}
      94802c37
    • Xiangjun Zhang's avatar
      Media Remoting: Add content bitrate estimation and condition check. · 8f6cf3ba
      Xiangjun Zhang authored
      When network bandwidth is not sufficient to remote the content directly
      to the receiver, media remoting will fallback to mirroring. To avoid
      this fallback happen immediately after remoting starts, estimate the
      content bitrate and only start remoting when the network bandwidth is
      sufficient.
      
      Bug: 739972
      Change-Id: I2bae3bed042ab1f6d6946877213729b18043dc7d
      Reviewed-on: https://chromium-review.googlesource.com/567031
      Commit-Queue: Xiangjun Zhang <xjz@chromium.org>
      Reviewed-by: default avatarSteven Holte <holte@chromium.org>
      Reviewed-by: default avatarYuri Wiitala <miu@chromium.org>
      Reviewed-by: default avatarXiaohan Wang <xhwang@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491289}
      8f6cf3ba
    • Bugs Nash's avatar
      Moved parsing logic to property APIs for grouped longhand properties · 264ba723
      Bugs Nash authored
      This patch:
      - Moved parsing logic to property APIs for the following grouped
        properties:
          border-image-repeat
          border-image-slice
          border-image-outset
          border-image-width
          background-clip
          background-image
          background-origin
          -webkit-transform-origin-x
          -webkit-transform-origin-y
         -webkit-perspective-origin-x
          -webkit-perspective-origin-y
          -webkit-mask-box-image-repeat
          -webkit-mask-box-image-slice
          -webkit-mask-box-image-outset
          -webkit-mask-box-image-width
          -webkit-mask-image
      - Replaced the bool literal argument in BorderImageUtils with a
        new enum class to comply with the style guide
      - Added #includes to PositionUtils that should have been there
        when the file was created. For some reason this only started
        causing build errors in this patch
      
      Bug: 668012
      Change-Id: I796f0967e4222689c14700b12d7726df7ab35170
      Reviewed-on: https://chromium-review.googlesource.com/597378Reviewed-by: default avatarmeade_UTC10 <meade@chromium.org>
      Commit-Queue: Bugs Nash <bugsnash@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#491288}
      264ba723