Remove more uses of gl::ErrorOrResult.

Only gl::LinkResult remains.

Bug: angleproject:2753
Change-Id: I5e9c68c11453e8ab9db4908451957d7b3db0b110
Reviewed-on: https://chromium-review.googlesource.com/c/1254044
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
diff --git a/src/libANGLE/ResourceManager.cpp b/src/libANGLE/ResourceManager.cpp
index 31c4f32..63bf64c 100644
--- a/src/libANGLE/ResourceManager.cpp
+++ b/src/libANGLE/ResourceManager.cpp
@@ -345,8 +345,10 @@
 {
 }
 
-ErrorOrResult<GLuint> PathManager::createPaths(rx::GLImplFactory *factory, GLsizei range)
+Error PathManager::createPaths(rx::GLImplFactory *factory, GLsizei range, GLuint *createdOut)
 {
+    *createdOut = 0;
+
     // Allocate client side handles.
     const GLuint client = mHandleAllocator.allocateRange(static_cast<GLuint>(range));
     if (client == HandleRangeAllocator::kInvalidHandle)
@@ -365,7 +367,8 @@
         const auto id   = client + i;
         mPaths.assign(id, new Path(impl));
     }
-    return client;
+    *createdOut = client;
+    return NoError();
 }
 
 void PathManager::deletePaths(GLuint first, GLsizei range)