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

Issue 2527503003: FaceDetector: Pass |options| to parent constructor (Closed)

Created:
4 years ago by xianglu
Modified:
4 years ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin (slow to review), dglazkov+blink, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL moves initialization of m_options from FaceDetector to its superclass ShapeDetector. BUG=659139, 646083 Committed: https://crrev.com/f93d7bf6eaabf65f21875d4d609097e5fd2ba216 Cr-Commit-Position: refs/heads/master@{#434196}

Patch Set 1 #

Total comments: 2

Patch Set 2 : reillyg@ and haraken@ comments #

Messages

Total messages: 43 (29 generated)
xianglu
ptal.
4 years ago (2016-11-23 01:35:31 UTC) #11
haraken
https://codereview.chromium.org/2527503003/diff/20001/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h File third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h (right): https://codereview.chromium.org/2527503003/diff/20001/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h#newcode29 third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h:29: explicit ShapeDetector(LocalFrame&, const FaceDetectorOptions&); Nit: Drop explicit.
4 years ago (2016-11-23 01:37:34 UTC) #13
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2527503003/diff/20001/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp File third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp (right): https://codereview.chromium.org/2527503003/diff/20001/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp#newcode57 third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp:57: frame.interfaceProvider()->getInterface(mojo::GetProxy(&m_service)); You can use delegated constructors to avoid this ...
4 years ago (2016-11-23 01:42:04 UTC) #14
xianglu
ptal.
4 years ago (2016-11-23 02:11:30 UTC) #25
Reilly Grant (use Gerrit)
lgtm
4 years ago (2016-11-23 02:32:58 UTC) #26
haraken
LGTM
4 years ago (2016-11-23 02:33:50 UTC) #27
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/2527503003/60001
4 years ago (2016-11-23 02:54:15 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/311172)
4 years ago (2016-11-23 03:02:35 UTC) #32
xianglu
ptal.
4 years ago (2016-11-23 16:45:46 UTC) #34
xianglu
ptal.
4 years ago (2016-11-23 16:45:53 UTC) #35
Tom Sepez
lgtm
4 years ago (2016-11-23 17:09:20 UTC) #36
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/2527503003/60001
4 years ago (2016-11-23 17:16:47 UTC) #38
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years ago (2016-11-23 17:24:55 UTC) #41
commit-bot: I haz the power
4 years ago (2016-11-23 17:28:25 UTC) #43
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f93d7bf6eaabf65f21875d4d609097e5fd2ba216
Cr-Commit-Position: refs/heads/master@{#434196}

Powered by Google App Engine
This is Rietveld 408576698