Continuity of $f$ plays no rôle in this game, we only have to assume that the Riemann integral $\int_a^b f(x)\>dx$ exists.
For a function $f:\ [a,b]\to{\mathbb R}$ and a subinterval $Q\subset[a,b]$ write
$$|\Delta f|_Q:=\sup_{x\in Q} f(x)-\inf_{x\in Q} f(x)\ .$$
Such a function is Riemann integrable over $[a,b]$ if for any $\epsilon>0$ there is a partition $P$ of $[a,b]$ into subintervals $Q_k=[x_{k-1}, x_k]$ $\>(1\leq k\leq N)$ such that
$$D_P(f):=\sum_{k=1}^N |\Delta f|_{Q_k}(x_k-x_{k-1})<\epsilon\ .$$
When $f$ passes this simple test then there is a unique number $S\in{\mathbb R}$ such that
$$|R_P-S|\leq D_P(f)\tag{1}$$
for all partitions $P$ and all Riemann sums $R_P=\sum_{k=1}^N f(\xi_k)(x_k-x_{k-1})$ computed using $P$. This $S$ is called the integral of $f$ over $[a,b]$, and is denoted by $\int_a^b f(x)\ dx$.
The following Lemma has been proved several times on MSE: When $f$ is integrable over $[a,b]$ then for each $\epsilon>0$ there is $\delta >0$ such that $D_P(f)<\epsilon$ as soon as $\max_{1\leq k\leq N}(x_k-x_{k-1})<\delta$.
We now argue as follows: Given an $\epsilon>0$ choose a $\delta>0$ according to the Lemma. There is an $n_0$ such that ${b-a\over n_0}<\delta$. Denote the partition considered in the question by $P_n$ and the displayed Riemann sum by $R_n$. When $n>n_0$ then ${b-a\over n}<\delta$. Therefore it follows from the principle $(1)$ that
$$\left|R_n-\int_a^b f(x)\ dx\right|\leq D_{P_n}(f)< \epsilon\ .$$