diff --git a/atom/common/native_mate_converters/gfx_converter.cc b/atom/common/native_mate_converters/gfx_converter.cc index 54b7cb71c9ff..9ce2fffc3935 100644 --- a/atom/common/native_mate_converters/gfx_converter.cc +++ b/atom/common/native_mate_converters/gfx_converter.cc @@ -87,9 +87,9 @@ struct Converter { static v8::Local ToV8(v8::Isolate* isolate, const display::Display::TouchSupport& val) { switch (val) { - case display::Display::TOUCH_SUPPORT_AVAILABLE: + case display::Display::TouchSupport::AVAILABLE: return StringToV8(isolate, "available"); - case display::Display::TOUCH_SUPPORT_UNAVAILABLE: + case display::Display::TouchSupport::UNAVAILABLE: return StringToV8(isolate, "unavailable"); default: return StringToV8(isolate, "unknown");