| Index: third_party/WebKit/public/platform/WebTraceLocation.h
|
| diff --git a/third_party/WebKit/public/platform/WebTraceLocation.h b/third_party/WebKit/public/platform/WebTraceLocation.h
|
| index 3203f0805ae85ceb1534ec0937db30927a3605c4..168badc5bffa73f694b60ed30dc792a7ba8f31e1 100644
|
| --- a/third_party/WebKit/public/platform/WebTraceLocation.h
|
| +++ b/third_party/WebKit/public/platform/WebTraceLocation.h
|
| @@ -5,27 +5,12 @@
|
| #ifndef WebTraceLocation_h
|
| #define WebTraceLocation_h
|
|
|
| -#include "WebCommon.h"
|
| +#include "base/location.h"
|
|
|
| namespace blink {
|
|
|
| -// This class is used to keep track of where posted tasks originate. See base/location.h in Chromium.
|
| -// Currently only store the bits used in Blink, base::Location stores more.
|
| -class BLINK_PLATFORM_EXPORT WebTraceLocation {
|
| -public:
|
| - // These char*s are not copied and must live for the duration of the program.
|
| - WebTraceLocation(const char* function, const char* file);
|
| - WebTraceLocation();
|
| -
|
| - const char* functionName() const;
|
| - const char* fileName() const;
|
| -
|
| -private:
|
| - const char* m_functionName;
|
| - const char* m_fileName;
|
| -};
|
| -
|
| -#define BLINK_FROM_HERE ::blink::WebTraceLocation(__FUNCTION__, __FILE__)
|
| +using WebTraceLocation = tracked_objects::Location;
|
| +#define BLINK_FROM_HERE FROM_HERE
|
|
|
| }
|
|
|
|
|