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

Unified Diff: Source/core/html/track/TextTrackRegion.h

Issue 25798003: Enable WebVTT regions for runtime testing, updated tests and minor fixes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert Logging Created 7 years, 2 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/core/html/track/TextTrackRegion.h
diff --git a/Source/core/html/track/TextTrackRegion.h b/Source/core/html/track/TextTrackRegion.h
index 04dde0bda9e784b89dd7ebe95aefa99cb74a66df..85186552c14b7954fdb444b3288bb07c7f95afc7 100644
--- a/Source/core/html/track/TextTrackRegion.h
+++ b/Source/core/html/track/TextTrackRegion.h
@@ -31,8 +31,6 @@
#ifndef TextTrackRegion_h
#define TextTrackRegion_h
-#if ENABLE(WEBVTT_REGIONS)
-
#include "core/dom/ContextLifecycleObserver.h"
#include "core/dom/Document.h"
#include "core/html/track/TextTrack.h"
@@ -97,7 +95,7 @@ public:
private:
TextTrackRegion(ScriptExecutionContext*);
- Document* ownerDocument() { return toDocument(m_scriptExecutionContext); }
+ Document* ownerDocument() { return toDocument(scriptExecutionContext()); }
void prepareRegionDisplayTree();
@@ -160,6 +158,4 @@ private:
};
} // namespace WebCore
-
-#endif
#endif

Powered by Google App Engine
This is Rietveld 408576698