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

Side by Side Diff: third_party/WebKit/Source/modules/sensor/Gyroscope.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/sensor/Gyroscope.h" 5 #include "modules/sensor/Gyroscope.h"
6 6
7
8 using device::mojom::blink::SensorType; 7 using device::mojom::blink::SensorType;
9 8
10 namespace blink { 9 namespace blink {
11 10
12 Gyroscope* Gyroscope::create(ExecutionContext* executionContext, 11 Gyroscope* Gyroscope::create(ExecutionContext* executionContext,
13 const SensorOptions& options, 12 const SensorOptions& options,
14 ExceptionState& exceptionState) { 13 ExceptionState& exceptionState) {
15 return new Gyroscope(executionContext, options, exceptionState); 14 return new Gyroscope(executionContext, options, exceptionState);
16 } 15 }
17 16
(...skipping 19 matching lines...) Expand all
37 36
38 double Gyroscope::z(bool& isNull) const { 37 double Gyroscope::z(bool& isNull) const {
39 return readingValue(2, isNull); 38 return readingValue(2, isNull);
40 } 39 }
41 40
42 DEFINE_TRACE(Gyroscope) { 41 DEFINE_TRACE(Gyroscope) {
43 Sensor::trace(visitor); 42 Sensor::trace(visitor);
44 } 43 }
45 44
46 } // namespace blink 45 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698