Index: content/browser/aura/image_transport_factory.h |
diff --git a/content/browser/aura/image_transport_factory.h b/content/browser/aura/image_transport_factory.h |
index 7cd2523c421f11afb811a9af0515ba01da3fec70..bfe7057cce620b2f4fafe2b471203af63fcb2a3a 100644 |
--- a/content/browser/aura/image_transport_factory.h |
+++ b/content/browser/aura/image_transport_factory.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "content/common/content_export.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -52,9 +53,10 @@ class CONTENT_EXPORT ImageTransportFactory { |
// Initializes the global transport factory. |
static void Initialize(); |
- // Initializes the global transport factory for unit tests, using a test |
- // context. |
- static void InitializeForUnitTests(); |
+ // Initializes the global transport factory for unit tests using the provided |
+ // context factory. |
+ static void InitializeForUnitTests( |
+ scoped_ptr<ui::ContextFactory> test_factory); |
// Terminates the global transport factory. |
static void Terminate(); |