Use new downcast helper for blink::HTMLMeterElement

This CL has two goals,
1. Use DynamicTo<HTMLMeterElement> as new downcast helper
2. Use IsA<HTMLMeterElement>(element) in place of
   IsHTMLMeterElement(element)

Bug: 891908
Change-Id: Ibd4d7866992b0ead69045e10af68d5faa4f36d0f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1794365
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com>
Cr-Original-Commit-Position: refs/heads/master@{#695566}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b416cca1c7ba2d451c74016dbdcb69c660eb7f15
4 files changed
tree: 41244f8ea1efbe2ee290bf9040e1be290ff459a2
  1. .gitignore
  2. BUILD.gn
  3. DEPS
  4. OWNERS
  5. PRESUBMIT.py
  6. Python-Markdown/
  7. README.chromium
  8. README.chromium.template
  9. SPIRV-Tools/
  10. abseil-cpp/
  11. accessibility-audit/
  12. accessibility_test_framework/
  13. adobe/
  14. afl/
  15. android_build_tools/
  16. android_crazy_linker/
  17. android_data_chart/
  18. android_deps/
  19. android_media/
  20. android_opengl/
  21. android_platform/
  22. android_protobuf/
  23. android_sdk/
  24. android_support_test_runner/
  25. android_swipe_refresh/
  26. android_system_sdk/
  27. apache-mac/
  28. apache-portable-runtime/
  29. apache-win32/
  30. apk-patch-size-estimator/
  31. apple_apsl/
  32. arcore-android-sdk-client/
  33. arcore-android-sdk/
  34. ashmem/
  35. auto/
  36. axe-core/
  37. bazel/
  38. binutils/
  39. blanketjs/
  40. blink/
  41. boringssl/
  42. bouncycastle/
  43. breakpad/
  44. brotli/
  45. bspatch/
  46. byte_buddy/
  47. cacheinvalidation/
  48. cct_dynamic_module/
  49. ced/
  50. chaijs/
  51. checkstyle/
  52. chromevox/
  53. cld_3/
  54. closure_compiler/
  55. colorama/
  56. crashpad/
  57. crc32c/
  58. custom_tabs_client/
  59. d3/
  60. dav1d/
  61. decklink/
  62. devscripts/
  63. dom_distiller_js/
  64. emoji-segmenter/
  65. errorprone/
  66. espresso/
  67. expat/
  68. feed/
  69. flatbuffers/
  70. flot/
  71. fontconfig/
  72. freetype/
  73. fuchsia-sdk/
  74. gestures/
  75. gif_player/
  76. glfw/
  77. glslang/
  78. google-truth/
  79. google_android_play_core/
  80. google_appengine_cloudstorage/
  81. google_input_tools/
  82. google_toolbox_for_mac/
  83. google_trust_services/
  84. googletest/
  85. gradle_wrapper/
  86. grpc/
  87. gson/
  88. guava/
  89. gvr-android-keyboard/
  90. gvr-android-sdk/
  91. hamcrest/
  92. harfbuzz-ng/
  93. hunspell/
  94. iaccessible2/
  95. iccjpeg/
  96. icu4j/
  97. ijar/
  98. ink/
  99. inspector_protocol/
  100. instrumented_libraries/
  101. intellij/
  102. isimpledom/
  103. jacoco/
  104. javalang/
  105. jinja2/
  106. jsoncpp/
  107. jsr-305/
  108. jstemplate/
  109. junit/
  110. khronos/
  111. lcov/
  112. leveldatabase/
  113. libFuzzer/
  114. libXNVCtrl/
  115. libaddressinput/
  116. libaom/
  117. libcxx-pretty-printers/
  118. libdrm/
  119. libevdev/
  120. libipp/
  121. libjingle_xmpp/
  122. libjpeg.gni
  123. libjpeg/
  124. liblouis/
  125. libovr/
  126. libphonenumber/
  127. libpng/
  128. libprotobuf-mutator/
  129. libsecret/
  130. libsync/
  131. libudev/
  132. libusb/
  133. libvpx/
  134. libwebm/
  135. libwebp/
  136. libxml/
  137. libxslt/
  138. logilab/
  139. lottie/
  140. lzma_sdk/
  141. mako/
  142. markdown/
  143. markupsafe/
  144. material_design_icons/
  145. mesa_headers/
  146. metrics_proto/
  147. microsoft_webauthn/
  148. minigbm/
  149. minizip/
  150. mocha/
  151. mockito/
  152. modp_b64/
  153. motemplate/
  154. mozilla/
  155. netty-tcnative/
  156. netty4/
  157. node/
  158. objenesis/
  159. ocmock/
  160. one_euro_filter/
  161. openh264/
  162. openscreen/
  163. openvr/
  164. openxr/
  165. opus/
  166. ots/
  167. ow2_asm/
  168. pexpect/
  169. pffft/
  170. ply/
  171. polymer/
  172. private-join-and-compute/
  173. proguard/
  174. protobuf/
  175. protoc_javalite/
  176. pycoverage/
  177. pyjson5/
  178. pylint/
  179. pymock/
  180. pystache/
  181. pywebsocket/
  182. qcms/
  183. quic_trace/
  184. qunit/
  185. r8/
  186. re2/
  187. requests/
  188. rnnoise/
  189. robolectric/
  190. s2cellid/
  191. sfntly/
  192. shaderc/
  193. simplejson/
  194. sinonjs/
  195. smhasher/
  196. snappy/
  197. speech-dispatcher/
  198. spirv-cross/
  199. spirv-headers/
  200. sqlite/
  201. sqlite4java/
  202. sudden_motion_sensor/
  203. tcmalloc/
  204. test_fonts/
  205. tlslite/
  206. ub-uiautomator/
  207. unrar/
  208. usb_ids/
  209. usrsctp/
  210. v4l-utils/
  211. vulkan/
  212. wayland-protocols/
  213. wayland/
  214. wds/
  215. web-animations-js/
  216. webdriver/
  217. webgl/
  218. webrtc_overrides/
  219. webxr_test_pages/
  220. widevine/
  221. win_build_output/
  222. woff2/
  223. wtl/
  224. xstream/
  225. yasm/
  226. zlib/