diff --git a/mozilla/layout/html/table/src/nsTableFrame.cpp b/mozilla/layout/html/table/src/nsTableFrame.cpp
index c3048070c46..106863d9548 100644
--- a/mozilla/layout/html/table/src/nsTableFrame.cpp
+++ b/mozilla/layout/html/table/src/nsTableFrame.cpp
@@ -4496,7 +4496,7 @@ CELL_FOUND:
col = 0;
}
}
- return NS_ERROR_FAILURE; // Some other error
+ return NS_TABLELAYOUT_CELL_NOT_FOUND; // We didn't find a cell
}
}
diff --git a/mozilla/layout/tables/nsTableFrame.cpp b/mozilla/layout/tables/nsTableFrame.cpp
index c3048070c46..106863d9548 100644
--- a/mozilla/layout/tables/nsTableFrame.cpp
+++ b/mozilla/layout/tables/nsTableFrame.cpp
@@ -4496,7 +4496,7 @@ CELL_FOUND:
col = 0;
}
}
- return NS_ERROR_FAILURE; // Some other error
+ return NS_TABLELAYOUT_CELL_NOT_FOUND; // We didn't find a cell
}
}