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

Unified Diff: device/sensors/public/cpp/motion_data.cc

Issue 2885203004: Refactor content/renderer/device_sensors to use device/generic_sensor instead of device/sensors (Closed)
Patch Set: updated content/renderer/BUILD.gn Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: device/sensors/public/cpp/motion_data.cc
diff --git a/device/sensors/public/cpp/motion_data.cc b/device/sensors/public/cpp/motion_data.cc
deleted file mode 100644
index 2fb4580ea44cfbfb4a76cbefdfe7a32921b4ddee..0000000000000000000000000000000000000000
--- a/device/sensors/public/cpp/motion_data.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "device/sensors/public/cpp/motion_data.h"
-
-#include <string.h>
-
-namespace device {
-
-MotionData::MotionData() {
- // Make sure to zero out the memory so that there are no uninitialized bits.
- // This object is used in the shared memory buffer and is memory copied by
- // two processes. Valgrind will complain if we copy around memory that is
- // only partially initialized.
- memset(this, 0, sizeof(*this));
-}
-
-MotionData::MotionData(const MotionData& other) = default;
-
-} // namespace device

Powered by Google App Engine
This is Rietveld 408576698