| Index: third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGL2RenderingContextCustom.cpp
|
| diff --git a/third_party/WebKit/public/platform/WebEffectiveConnectionType.h b/third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGL2RenderingContextCustom.cpp
|
| similarity index 79%
|
| copy from third_party/WebKit/public/platform/WebEffectiveConnectionType.h
|
| copy to third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGL2RenderingContextCustom.cpp
|
| index 3a962660065362001ceb20332a6ddb04523be96a..793218f2d96412cd5fef5c39017145962f26d0b2 100644
|
| --- a/third_party/WebKit/public/platform/WebEffectiveConnectionType.h
|
| +++ b/third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGL2RenderingContextCustom.cpp
|
| @@ -28,20 +28,18 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebEffectiveConnectionType_h
|
| -#define WebEffectiveConnectionType_h
|
| +#include "bindings/modules/v8/V8WebGL2RenderingContext.h"
|
| +
|
| +#include "modules/webgl/WebGL2RenderingContextBase.h"
|
| +
|
| +using namespace WTF;
|
|
|
| namespace blink {
|
|
|
| -enum class WebEffectiveConnectionType {
|
| - TypeUnknown,
|
| - TypeOffline,
|
| - TypeSlow2G,
|
| - Type2G,
|
| - Type3G,
|
| - Type4G
|
| -};
|
| +void V8WebGL2RenderingContext::visitDOMWrapperExtra(v8::Isolate* isolate, ScriptWrappable* scriptWrappable, const v8::Persistent<v8::Object>& wrapper)
|
| +{
|
| + WebGL2RenderingContext* impl = scriptWrappable->toImpl<WebGL2RenderingContext>();
|
| + impl->visitChildDOMWrappers(isolate, wrapper);
|
| +}
|
|
|
| } // namespace blink
|
| -
|
| -#endif // WebEffectiveConnectionType_h
|
|
|