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

Unified Diff: Source/modules/geolocation/testing/InternalsGeolocation.h

Issue 1318793005: [part 2] Make classes and structures in modules fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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: Source/modules/geolocation/testing/InternalsGeolocation.h
diff --git a/Source/modules/geolocation/testing/InternalsGeolocation.h b/Source/modules/geolocation/testing/InternalsGeolocation.h
index 1c9f64a96b7bfd0f32c51c7f405da856bf043587..fa73feef7ae728d6886d1fcd164d68440eca37c3 100644
--- a/Source/modules/geolocation/testing/InternalsGeolocation.h
+++ b/Source/modules/geolocation/testing/InternalsGeolocation.h
@@ -32,6 +32,7 @@
#define InternalsGeolocation_h
#include "platform/Timer.h"
+#include "wtf/Allocator.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -41,6 +42,7 @@ class GeolocationClientMock;
class Internals;
class InternalsGeolocation {
+ STATIC_ONLY(InternalsGeolocation);
public:
static void setGeolocationClientMock(Internals&, Document*);
static void setGeolocationPosition(Internals&, Document*, double latitude, double longitude, double accuracy);
« no previous file with comments | « Source/modules/geolocation/testing/GeolocationClientMock.h ('k') | Source/modules/imagebitmap/WindowImageBitmapFactories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698