Use packed enums for QueryType.

BUG=angleproject:2169

Change-Id: I129a9d8e295859daa071a298dab9fe1895315cc0
Reviewed-on: https://chromium-review.googlesource.com/957318
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/libANGLE/Query.cpp b/src/libANGLE/Query.cpp
index cd1fb5f..15416ec 100644
--- a/src/libANGLE/Query.cpp
+++ b/src/libANGLE/Query.cpp
@@ -70,7 +70,7 @@
     return mQuery->isResultAvailable(available);
 }
 
-GLenum Query::getType() const
+QueryType Query::getType() const
 {
     return mQuery->getType();
 }