Index: remoting/host/capturer_mac_unittest.cc |
diff --git a/remoting/host/capturer_mac_unittest.cc b/remoting/host/capturer_mac_unittest.cc |
index 4ca85f5eda42059fc57e042fa0c6b4f850477096..ca277c55d8a59b5699eb6dc5c21d85d1cedc062e 100644 |
--- a/remoting/host/capturer_mac_unittest.cc |
+++ b/remoting/host/capturer_mac_unittest.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "remoting/host/capturer.h" |
+ |
#include <ApplicationServices/ApplicationServices.h> |
#include <iostream> |
@@ -9,22 +11,21 @@ |
#include "base/callback.h" |
#include "base/memory/scoped_ptr.h" |
#include "remoting/base/types.h" |
-#include "remoting/host/capturer_mac.h" |
-#include "testing/gmock/include/gmock/gmock.h" |
+#include "testing/gtest/include/gtest/gtest.h" |
namespace remoting { |
class CapturerMacTest : public testing::Test { |
protected: |
virtual void SetUp() { |
- capturer_.reset(new CapturerMac()); |
+ capturer_.reset(Capturer::Create()); |
} |
void AddDirtyRect() { |
rects_.insert(gfx::Rect(0, 0, 10, 10)); |
} |
- scoped_ptr<CapturerMac> capturer_; |
+ scoped_ptr<Capturer> capturer_; |
InvalidRects rects_; |
}; |